问题已经解决了,在官方网站上找到的,方法如下:Window->Preferences in the left tree select Workbench File Associations add *.phl in the upper box; add the PHP Editor (with the P icon) to the *.phl in the left tree of the Preferences select: PHPeclipse Web Development->PHP add your phl extension in the PHP file extensions (internal parser) box.如果还是不能加亮显示,那么试试去掉php里面的phl扩展名,就是说第二步不要做。
非常感谢你提出的这种方法,但是我做过后还是无法认以phl结尾的php文件,我是在所有出现设置文件扩展名的地方将以前的php3改成phl的。
in the left tree select Workbench File Associations
add *.phl in the upper box; add the PHP Editor (with the P icon) to the *.phl
in the left tree of the Preferences select: PHPeclipse Web Development->PHP add your phl extension in the PHP file extensions (internal parser) box.如果还是不能加亮显示,那么试试去掉php里面的phl扩展名,就是说第二步不要做。
我这里没有这个问题。
我在new->other。他自动加入*.php