Hello!
It was updated recently to the 6th version of the storm, and noticed that the php highlighting from html files had disappeared somewhere.
How can I fix this?
Hello!
It was updated recently to the 6th version of the storm, and noticed that the php highlighting from html files had disappeared somewhere.
How can I fix this?
PhpStopm 9 :
Settings - Editor - File Types . We will see two windows:
In the Recognized File Types window, select the php file ? and click on it. In the second window of Registred Patterns , click on the green plus and in the opened window we register such *.html
. Add this and the OK button.
Now php code will be highlighted in html pages.
Can you help with a similar question, there are .php files, sometimes there is a structure of the form
<script type="text/javascript"> // ... </script>
However, when you want to comment out something, for example, PHPStorm comments the code inside these tags as usual html, i.e.
<!-- -->
instead
//
And of course there is no autocompletion in js.
Source: https://ru.stackoverflow.com/questions/209044/
All Articles