Eclipse PDT isn't highlighting PHP syntax in .html files?

前端 未结 2 2005
难免孤独
难免孤独 2021-01-14 18:21

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 anyo

2条回答
  •  半阙折子戏
    2021-01-14 18:51

    Just figured this out. Man was this frustrating. mythicalprogrammer is right. Couple things to remember.

    1. Uninstall Aptanna plugin if you have it.
    2. Don't know if this will help, but you might need to install pdt. (Php Development Tools) Tools installed.
    3. Make sure to close all your windows in eclipse and restart the program, and after following mythicalprogrammers advice you should be good to go.

    Good luck.

提交回复
热议问题