First you need to install Spket. It's not a fine story here.
After the configuration of jquery:
1. Download the development of JavaScript files from jquery.com, as shown below, be sure to select the options in the Red box.
2. Configure the Spket Javascript Profiles within Eclipse, as shown in the following figure:
1) from Window->preferences ... Get in
2) as shown above select Spket-> Javascript Profiles
3 Click New ... Enter jquery to create a new profile
4 Click Add Library and select jquery to create a new library
5 Click Add File to select the jquery file you just downloaded
6 If you want jquery to be the default JavaScript profile, click Default. If you want to make ExtJS the default and use jquery in a particular project, follow these steps
3. Project-specific JavaScript options .
From the upper-right corner of the diagram, select "Configure Project specific Settings ..." To set up, select the project name in the pop-up dialog box, and then pop up the following dialog:
Click on jquery and make it default. jquery is the default profile used only in this project.
Then create a new JS file, you can use the jquery code hints function: