下载
1.下载php插件phpeclipse。要注意的是phpeclipse只维护到eclipse3.3。
安装
2.将文件解压到指定目录,如D:\work\plugins\myeclipse\php。
3.在myeclipse安装目录下dropins目录中创建.link文件,文件名随意,如php.link,文件内容为指向php插件所在目录。
path=D:\\work\\plugins\\myeclipse\\php
4.重启myeclipse。
5.在Window->Preferences中看到PHPeclipse,即安装成功。
配置
6.File->Export->General->Preferences,Next。
勾选Export all,选择文件保存目录,Finish。
7.打开导出的文件如上D:\conf.epf,找到/instance/net.sourceforge.phpeclipse/fontPropagated=true,在其上添加如下配置后,保存文件。
/instance/net.sourceforge.phpeclipse/content_assist_autoactivation_triggers_php=$:>.abcdefghijklmnopqrstuvwxyz(
8.File->Import->General->Preferences,Next。
选择之前的文件D:\conf.epf,勾选Import all,Finish。
9. Window->Preferences->PHPeclipse->XDebug->PHP Interpreter
10.其他配置根据需要进行配置。