圣祖德晏

Ext4 + .NET 智能提示,使用Spket IDE

参照网址:

http://www.spket.com/extjs.html

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 click OK.
  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 usingConfigure 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 toextjs-4.1.x

posted on 2012-10-09 09:49  圣祖德晏  阅读(348)  评论(0编辑  收藏  举报