Eclipse PDT isn't highlighting PHP syntax in .html files?
问题 So, I'm doing code maintenance and our php codes are embedded in html files. Eclipse isn't highlighting any of the php codes in the html file. Does anyone have any ideas how to do this? I've tried looking for it in the preferences and my google ninja skills fail me. Thank you in advance. 回答1: window > preferences > general > content types Under "text" find "PHP Content type" add "*.html" Close the file and reopen it again. Restart eclipse won't work, since whatever .html file that have