To have jQuery Intellisense feature in Eclipse, I tried to find out the way in Google and everyone suggested to use modified version of Eclipse WTP. After doing some research I found out another way of having jQuery Intellisense in Eclipse i.e. integrating Spket IDE with Eclipse.
I am using Eclipse 3.4.2 Ganymede version.
Download
Download and Install Spket IDE and jQuery
- Download Spket plugin for Eclipse using Eclipse Update Manager, from Spket update site - http://www.spket.com/update/
- Once the Spket IDE is installed then download jQuery from http://jquery.com/ and save in your local disk.
Configure
The steps to configure jQuery Intellisense are:
- Open Eclipse IDE
- Select the menu item Window > Preferences... to open the workbench preferences.
- Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles.
- Click the New.. button. In the Name field, type jQuery (you can type anything) as the name for the new profile. Then click OK.
- Click the Add Library button. From the Library drop-down list, select jQuery. Then click OK.
- Click the Add File button, choose jQuery javascript file downloaded from jQuery site. In my case it is stored in D:/jQuery folder as jquery-1.3.2.js
- Choose the jQuery profile created in step 3, click the Default button make it the default profile for all projects. The default profile can also be configured per project by using Configure Project Specific Settings... link.
- Click on OK to save the preferences.
Verify it
- Create or Open any existing JS file and type $(document). and you should get onReady function in the popup list after pressing '.'
unfortunately this didn't work for me. I'm using zend studio 6.1.2 and 7.1
ReplyDeleteI use free PHP IDE Codelobster PHP Edition with special JQuery plug-in.
ReplyDeleteit doesn't work for me either, can you explain it in more detail, I think something is missing...
ReplyDeleteThis does not work!
ReplyDeleteThe post is very nicely written and it contains many useful facts. I am happy to find your distinguished way of writing the post.
ReplyDeleteWeb Shopping Cart
It's Feb. 2012, and this works for me using Eclipse 3.7. Nice and easy to install, and the Spket IDE plugin is free.
ReplyDeleteRemember you have to open your .js file with the spket Eclipse Editor (do not use the default javascript editor)