Download the spkte jar package run java-jarspket-1.6.22.jar for the official installation of ext instructions CreateJavaScriptprofileforExt4.xDownloadExt4. x, unzipit, donotdeletethesrcfolder .. SelectthemenuitemWindowPreferences... toopentheworkbenchprefer
Download spkte jar package run java-jar spket-1.6.22.jar for the official installation of ext instructions 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
Download the spkte jar package and run the java-jar spket-1.6.22.jar
The official installation of ext is described as follows:
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 preferences.
- Select the Spket> JavaScript Profile preference page to display the installed JavaScript Profiles.
- Click the New... button. In the Name field, type Ext 4 as the name for the new profile. Then clickOK.
- Click the Add Library button. From the Library drop-down list, select ExtJS. Then click OK.
- Click the Add File button, choose sdk. jsb3 which can be found in build folder.
- 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.
- If everything done correctly, your profile shold looks like this.
- Click on OK to save the preferences.
- 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
The reason is that the file sdk. jsb3 is not available in ext4.2, so you need to import the folder to install
Here is an article dedicated to how to import extjs4.2 http://www.haogongju.net/art/1956707