PhpStorm - php with html highlighting
I use php includes in our intranet pages (to include standard menus that kind of thing) I must have the web page ending in .php for Apache to process the PHP code in the file, but the web page is really HTML markup with a little bit of PHP, however when I use the file in PhpStorm it does not do any of the colouring and highlighting that it would normally do for a web page. Is there a way to do this?
Please sign in to leave a comment.
Hi Jonathan,
Do you mind posting a screenshot of what you are getting right now (whole PhpStorm window, not just part of it)?
The reason I'm asking -- it's possible that you have:
If you cannot solve it with any of the above .. that's when screenshot may tell what is wrong.
Thanks suggestion 2 worked. The php plugin was turned on, but *.php was associated with text files(!) so I have re-associated *.php with php files.
Thanks again.