MyEclipse 安装ExtJS代码提示插件

MyEclipse 安装ExtJS代码提示插件

启动MyEclipse Help → Software Updates → Find and Install… → Search for new features to install → New remote site…

名称: “Spket”,地址URL是http://www.spket.com/update/

完成后重启(自动会加载插件,也可CMD ECLIPSE目录 使用命令 eclipse -clean 重新编译)

Window → Preferences → Spket → JavaScript Profiles → New ;
输入“ExtJS”点击OK;
选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”;选择“ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件;

另外一个好的插件

依照上法填入地址:

http://download.macromedia.com/pub/labs/jseclipse/autoinstall/

选择你想加载的插件
设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;

JS打开方式为 Window → Preferences → General→ Editors→ File...

选择JS 或者新创建 设置默认打开方式 为 Spket JavaScript Editor(default)

OK本人已经成功使用MYECLIPSE6.0,打开你的JS吧。尽情使用Ext代码提示吧吧!!属性支持类似JAVA类,声明后才可以获得属性,Spket 还封装了JS常用函数。EXT编写环境已经捆饶以久,可是说Spket+EXT是最完美的编写EXT环境。

猜你喜欢

转载自hangxing-liu.iteye.com/blog/1573417