PHP syntax highlighting in .html file not working...

So I have 2.1.5 installed on win 7 64 and the syntax/contextual awareness of php within a .html file does not seem to be working. There is no highlighting and comments are html comments instead of php ones.

Please help.

0
2 comments

Settings|File types.

Move .html from HTML to PHP.

0

This seems like a hokey implementation for a PHP IDE to not recognize when php is instantiated within a file. It's going to be pretty common for developers to have this come up. For now it works though.

0

Please sign in to leave a comment.