MyEclipse8.5安装Spket插件(MyEclipse8.5 javacript (jQuery extjs)自动提示)

配置环境: 
MyEclipse 8.5 + Spket 1.6.18 + ExtJS 3.2.1。 
安装Spket-1.6.8 
下载Spket, 地址:http://spket.com/download.html , 选择Spket IDE 或Plugin下载 (CSDN中有Spket 1.6.18的破解版,请自己搜索一下!) 
1. 在CMD 中执行 java -jar spket-1.6.17.jar, 点"Next" 
2. 选择eclipse plugin, 点"Next" 
3. 选择MyEclipse8.5的安装目录的common文件夹, 点"Next"! 
4. 选择Spket 的安装目录(6.0选择MyEclipse的目录一样, 7.0以上不要和MyEclipse的目录在一起),点"Next", 然后开始安装. 
以上步骤4和zip文件解压出来文件的一样.如果是MyEclipse6.0,则到止步骤已经安装成功,重启MyEclipse,接着后面步骤(三)的“配置Spket”就可以。果是7.0以上的MyEclipse版本,就还需要以下步骤(5~7)的配置. 

5. 下载CreatePluginsConfig.zip, 把Java文件最后面Spket的安装路径改成自己的安装路径(以我自己的安装路径“d:/Programs/spket-1.6.18”为例), 编译“.java”件并执行。在控制台中会输出一些信息,如下所示: 
com.spket.as.core,1.6.17,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.as.core_1.6.17.jar,4,false 
com.spket.awt,1.6.6,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.awt_1.6.6.jar,4,false 
com.spket.core,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.core_1.6.18.jar,4,false 
com.spket.dtd,1.6.6,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.dtd_1.6.6.jar,4,false 
com.spket.extjs,1.6.17,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.extjs_1.6.17.jar,4,false 
com.spket.grammars,1.6.9,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.grammars_1.6.9/,4,false 
com.spket.js.debug,1.6.16,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.js.debug_1.6.16.jar,4,false 
com.spket.js.xpc,1.6.6,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.js.xpc_1.6.6.jar,4,false 
com.spket.js,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.js_1.6.18.jar,4,false 
com.spket.laszlo,1.6.17,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.laszlo_1.6.17.jar,4,false 
com.spket.mime,1.6.8,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.mime_1.6.8.jar,4,false 
com.spket.mxml,1.6.15,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.mxml_1.6.15.jar,4,false 
com.spket.scintilla.win32,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.scintilla.win32_1.6.18.jar,4,false 
com.spket.sted.win32,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.sted.win32_1.6.18.jar,4,false 
com.spket.sted,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.sted_1.6.18.jar,4,false 
com.spket.svg,1.6.6,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.svg_1.6.6.jar,4,false 
com.spket.swt,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.swt_1.6.18.jar,4,false 
com.spket.theme,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.theme_1.6.18.jar,4,false 
com.spket.ui,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.ui_1.6.18.jar,4,false 
com.spket.widget.win32,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.widget.win32_1.6.18.jar,4,false 
com.spket.widget,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.widget_1.6.18.jar,4,false 
com.spket.wpfe,1.6.6,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.wpfe_1.6.6.jar,4,false 
com.spket.xml,1.6.17,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.xml_1.6.17.jar,4,false 
com.spket.xul,1.6.6,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.xul_1.6.6.jar,4,false 
com.spket.yuic,1.6.18,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.yuic_1.6.18.jar,4,false 
com.spket.ywt,1.6.6,file:/d:/Programs/spket-1.6.18/eclipse/plugins/com.spket.ywt_1.6.6.jar,4,false 
org.apache.xerces,2.8.0.v200705301630,file:/d:/Programs/spket-1.6.18/eclipse/plugins/org.apache.xerces_2.8.0.v200705301630.jar,4,false 
org.apache.xml.resolver,1.1.0.v200705310020,file:/d:/Programs/spket-1.6.18/eclipse/plugins/org.apache.xml.resolver_1.1.0.v200705310020.jar,4,false 

6. 把输出的东西追加到D:/Genuitec/MyEclipse 8.5/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info 后面. 

7. 重启MyEclipse 8.5完成Spket-1.6.18的安装。在MyEclipse 8.5中的菜单Window -> Preferences 中将出现 Spket项目。 

配置Spket-1.6.8 
Spket的配置过程与以往的Spket的配置过程类似.要注意的是,只有高于Spket-1.6.17的版本才识别配置文件。 
1. 先下载ext-jsb2.zip, 解压到ExtJS 3.0的根目录, 就是和ext-all.js在同一级目录. 
2. Window → Preferences → Spket → JavaScript Profiles → New. 
3. 输入ExtJS, 点"OK". 
4. 选择ExtJS, 点"Add Library", 在弹出窗口中选择"ExtJS". 
5. 选择ExtJS, 点"Add File", 找到ext.jsb2. 
6. 选择ExtJS, 点"Default". 

OK, Spket的安装以及Ext3.2.1的配置 都就绪了. 

 

 配置jquery

 

 

Create jQuery profile

  1. Select the menu item Window > Preferences... to open the workbench preferences.
  2. Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles.
  3. Click the New.. button. In the Name field, type jQuery as the name for the new profile. Then click OK.
  4. Click the Add Library button. From the Library drop-down list, select jQuery. Then click OK.
  5. Click the Add File button, choose jquery.js download from jquery.com(uncompressed or the one has docs is recommend)
  6. Choose the jQuery profile created in step 3, click the Default button make it the default profile for all project. The default profile can also be configured per project by using Configure Project Specific Settings... link.
  7. Click on OK to save the preferences.

 

jquery配置ok  更多信息请参考 http://www.spket.com/jquery.html 该网站。

 

备注:spket1.6只是支持jquery1.3.2

 

 

你可能感兴趣的:(JavaScript,jquery,MyEclipse,File,ExtJs,library)