欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

spket editor extjs4.2安装

程序员文章站 2022-05-11 09:06:07
...

下载spkte的jar包 运行java -jar spket-1.6.22.jar 如下为官方安装ext说明 Create JavaScript profile for Ext 4.x Download Ext 4.x, unzip it, do not delete the src folder. . Select the menu item Window Preferences... to open the workbench prefer

下载spkte的jar包 运行java -jar spket-1.6.22.jar

如下为官方安装ext说明

Create JavaScript profile for Ext 4.x

  1. Download Ext 4.x, unzip it, do not delete the src folder..
  2. Select the menu item Window > Preferences... to open the workbench preferences.
  3. Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles.
  4. Click the New.. button. In the Name field, type Ext 4 as the name for the new profile. Then clickOK.
  5. Click the Add Library button. From the Library drop-down list, select ExtJS. Then click OK.
  6. Click the Add File button, choose sdk.jsb3 which can be found in build folder.
  7. Select the Ext profile created in step 4, 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.
  8. If everything done correctly, your profile should looks like this.
  9. Click on OK to save the preferences.
  10. Open javascript file with Spket JavaScript Editor. If you not sure which editor you used, take a look at this screen shot. click Ctrl+Space or Alt+/, the code assist window will looks like this if there is no code.

Caution

For Ext 4.1.x, before creating profile, you have to move sdk.jsb3 from extjs-4.1.x/build to extjs-4.1.x

但是ext4.2中并不好使 原因是没有了sdk.jsb3这个文件,所以要用导入文件夹的方法来安装

这里的一篇文章专门讲如何导入extjs4.2 http://www.haogongju.net/art/1956707