1. Install spket in the form of myeclipse plug-in
Start myeclipse help → software updates → find and install... → Search for new features to install → new remote site...
Name: spket, Address URL is http://www.spket.com/update/
Restart myeclipse.
Window → preferences → spket → JavaScript profiles → new;
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 "jquery" and click OK;
3) Select "jquery" and click "add library". Then, select "jquery" in the following menu ";
3. Add jquery
1. Download the Javascript file for development from jquery.com. For example, select the option in the red box.
2. Configure spket JavaScript profiles in eclipse, such:
1) go to window> preferences...
2) Select spket-> JavaScript profiles.
3) Click new... and enter jquery to create a new profile.
4) Click Add library and select jquery to create a new library.
5) Click Add file and select the jquery file you just downloaded.
6) If you want jquery to become the default JavaScript profile, click default. If you want to make extjs a default, and use jquery in a specific project, follow these steps:
3. project-specific JavaScript options.
Select "Configure project specific settings..." in the upper right corner to set the project name. In the displayed dialog box, the following dialog box is displayed:
Click jquery and make it default. Jquery is used as the default profile only in this project.
4. Choose file -- New-Other and select Javascript in the Web to create a JS file. Then you can use the jquery code prompt function: