1. Install spket
Method 1: online update
1. plugin home: http://www.spket.com
2. Plug-In Name: spket ide
3. Update site: http://www.spket.com/update/
Update the installation method:
1. [help]-[software updates]-[find and install...]
2. [search for new features to install]-> [next]
3. [new remote site...] Name: "Anything, spketjs" url: http://www.spket.com/update/ --> [finish]
Method 2: Download The spket-1.6.16.jar cracked version online (the latest version)
1. If your JDK is above 1.6, you can double-click the spket-1.6.16.jar to run the installation.
Others, use the command line method. (Note: Switch the command line to the directory where the spket-1.6.16.jar is located)
2.
So far, the installation is complete.
Ii. Configure spket
NOTE: If your eclipse or myeclipse is enabled during spket installation, restart eclipse or myeclipse. To initialize the plug-in, the spket option is displayed in preferences.
The basic steps are as follows:
1) window → preferences → spket;
2) spket → JavaScript profiles → new. Enter "extjs" and click OK;
3) Select "extjs" and click "add library". Then, select "extjs" in the pull down bar ";
4) Select "extjs" and click "add file", then select the "Ext. JSB" file in your./ext-2.x/source directory;
5) set the new extjs profile, select and click the "defalut" button on the right hand side of the "javascript profiles" dialog box;
The following operations are set as needed (you can select all ).
6) Restart eclipse or myeclipse;
7) Create a New JS file and enter ext to set the function automatically completed by the ext code.
The effect is as follows: