1: 下载spket的plugin,地址是:http://www.agpad.com/downloads/spket-1.6.23.zip
2: 将里面的两个文件夹解压覆盖到D:\Program Files\Genuitec\Common目录下
3: 编辑文件D:\Program Files\Genuitec\MyEclipse 7.0\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info,在末尾添加:
com.spket.as.core,1.6.17,file:plugins\com.spket.as.core_1.6.17.jar,4,false
com.spket.awt,1.6.6,file:plugins\com.spket.awt_1.6.6.jar,4,false
com.spket.core,1.6.18,file:plugins\com.spket.core_1.6.18.jar,4,false
com.spket.dtd,1.6.19,file:plugins\com.spket.dtd_1.6.19.jar,4,false
com.spket.extjs,1.6.17,file:plugins\com.spket.extjs_1.6.17.jar,4,false
com.spket.js.debug,1.6.16,file:plugins\com.spket.js.debug_1.6.16.jar,4,false
com.spket.js.xpc,1.6.6,file:plugins\com.spket.js.xpc_1.6.6.jar,4,false
com.spket.js,1.6.23,file:plugins\com.spket.js_1.6.23.jar,4,false
com.spket.laszlo,1.6.19,file:plugins\com.spket.laszlo_1.6.19.jar,4,false
com.spket.mime,1.6.19,file:plugins\com.spket.mime_1.6.19.jar,4,false
com.spket.mxml,1.6.15,file:plugins\com.spket.mxml_1.6.15.jar,4,false
com.spket.scintilla.win32,1.6.18,file:plugins\com.spket.scintilla.win32_1.6.18.jar,4,false
com.spket.sted.win32,1.6.18,file:plugins\com.spket.sted.win32_1.6.18.jar,4,false
com.spket.sted,1.6.18,file:plugins\com.spket.sted_1.6.18.jar,4,false
com.spket.svg,1.6.6,file:plugins\com.spket.svg_1.6.6.jar,4,false
com.spket.swt,1.6.18,file:plugins\com.spket.swt_1.6.18.jar,4,false
com.spket.theme,1.6.18,file:plugins\com.spket.theme_1.6.18.jar,4,false
com.spket.ui,1.6.23,file:plugins\com.spket.ui_1.6.23.jar,4,false
com.spket.widget.win32,1.6.18,file:plugins\com.spket.widget.win32_1.6.18.jar,4,false
com.spket.widget,1.6.18,file:plugins\com.spket.widget_1.6.18.jar,4,false
com.spket.wpfe,1.6.6,file:plugins\com.spket.wpfe_1.6.6.jar,4,false
com.spket.xml,1.6.19,file:plugins\com.spket.xml_1.6.19.jar,4,false
com.spket.xul,1.6.6,file:plugins\com.spket.xul_1.6.6.jar,4,false
com.spket.yuic,1.6.18,file:plugins\com.spket.yuic_1.6.18.jar,4,false
com.spket.ywt,1.6.6,file:plugins\com.spket.ywt_1.6.6.jar,4,false
4: 重启MyEclipse 7.0
5: Window → Preferences → Spket → JavaScript Profiles → New ;输入“ExtJS”点击OK;
6: 选择“ExtJS” 并点击“Add Library”然后在下拉条中选取“ExtJS”;
7: 选择 “ExtJS”并点击“Add File”,然后在你的./ext-2.x/source目录中选取“ext.jsb” 文件;
8: 设置新的ExtJS Profile,选中并点击“JavaScript Profiles” 对话框右手边的“Defalut”按钮;
9: Window → Preferences → General → Editors → File Associations ;找到*.js,将Spket JavaScript Editor设为Default;找到*.jsp,添加Spket JavaScript Editor;
10: OK!