Eclipse: graphic tutorial for configuring Javascript development environment, eclipsejavascript
First, install Spket. I will not go into detail here.
Then configure 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 EclipseSuch:
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.
Create a new Js file and use the JQuery code prompt function: