Unable to reformat code

Hi

Using phpstorm - I'm unable to reformat code in a mixed document

I've selected some HTML markup and tried to reformat but it doesnt do anything, the same with javascript.

The code is in a PHP file - specifically a BLADE.PHP document

Is there a way to reformat selections or tell phpstorm to format the selected code with a specific style?

Even indenting doesnt work

What am I doing wrong?

1 comment
Comment actions Permalink

Hi there,

Code Reformat is not yet implemented for blade templates -- http://youtrack.jetbrains.com/issue/WI-24357

But it does work in .html (.phtml) files though (just tested).

0

Please sign in to leave a comment.