Eclipse's approach to adding jquery hints via Spket
1. Add online update Source: Help->install New software...->add...->name: "Spket",
location:http://www.spket.com/update/
2. Manual installation: To http://www.spket.com/download.html download Plugin version, the current version of the 1.6.18. Download the extract and place it directly in the Eclipse Dropins directory to restart Eclipse.
Download Address: http://download.csdn.net/detail/liaoqianwen123/9276993
3. Download the jquery file (to download the development version).
4. Set Spket, window-> Preferences-> spket-> JavaScript Profiles New, enter "jquery" click OK; Select "jquery" and click "Add Lib Rary "then select" jquery "in the dropdown bar, select" jquery "and click" Add file ", then select the Jquery.js file you downloaded, set to default;
5. Set JS Open mode (This step is important, do not set, there will be no smart hints jquery), Window-> Preferences->general-> editors-> File associations- > select *.js to set the Spket JavaScript editor to default.
6. Create a new JS file, jquery automatic hint.