eclipse下安装js插件:spket(支持Ext编辑)

1、选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site...
  Name: "Spket", Url: "http://www.spket.com/update/"下载完毕重启 Eclipse

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

3、设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;

4、JS打开方式为 Window -> Preferences ->General-> Editors-> File...选择JS 为 Spket JavaScript Editor(default)

posted on 2012-02-28 12:32  Topless  阅读(2548)  评论(1编辑  收藏  举报

导航