修改Eclipse子目录plugins中net.sourceforge.phpeclipse_1.1.2目录的plugin.xml试试,估计修改的地方不少

解决方案 »

  1.   

    http://www.phpx.com/happy/top95450.html
      

  2.   

    to:fzjw
    非常感谢你提出的这种方法,但是我做过后还是无法认以phl结尾的php文件,我是在所有出现设置文件扩展名的地方将以前的php3改成phl的。
      

  3.   

    问题已经解决了,在官方网站上找到的,方法如下: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扩展名,就是说第二步不要做。
      

  4.   

    eclipse是那个版本。
    我这里没有这个问题。
    我在new->other。他自动加入*.php