Eclipse isn't highlighting syntax for index.class.php
I just ins开发者_开发百科talled eclipse and started working on an existing project. Thing is, none of my code has syntax highlighting. The file name convention is name.class.php and name.html.php
Any ideas?
Do you have the Eclipse PDT (PHP Development Tools) installed alongside Eclipse? The standard install will not support PHP highlighting.
There is no need to uninstall your current version of Eclipse. If you want the PDT, just follow the instructions at this link (assuming you are using Eclipse 3.6). If you follow those instructions, you will download all the necessary "stuff" to use the PDT. If you have a different version of Eclipse, other instructions are on that same site.
精彩评论