Is it possible to integrate Jquery with Eclipse/MyEclipse? By integrating i mean, if i am working on any JSP or HTML file and i include jquery.js, then it should automatically start code assitance / autocompletion.
Edited:
I don't want to use APTANA ( 127 mb plugin ). If there is other way round please let me know.
There are plenty of jQuery plug-in available which you can download from repository link at https://jquery.com/plugins.
http://marketplace.eclipse.org/content/jsdt-jquery try this. It supports jQuery 1.7
I also did not want to download 127MB plugin, and I am doing a big PDT project in Eclipse so I was wary of a new perspective. I spent a bunch of time on Aptana and it never worked, so am sharing my steps to save someone else time. Note I have PDT installed already and some other notes say you have to install Aptana first. That doesn't help me too much.
I tried all kinds of stuff to get the code-complete to work, I copied over entire htm and js files, saved them, waited a long time after typing a period, etc.
Now I am going to work on uninstalling Aptana.
I have found a plugin jquerywtp to do the same. This plugin will just patch 'org.eclipse.wst.javascript.ui_xxxxxxx.jar'.
Note: it is for Jquery 1.2.6
There's no PDT package for Eclipse 3.7 Indigo and downloading it whole through Eclipse "Install New Software" can be very frustrating with sd unstable connection as mine, I've prepared clean install for Windows 64-bit suitable for PHP/JavaScript/jQuery development including the following:
Eclipse 3.7 WebJS Win 64-bit PDT 3.0 Eclipse Color Theme 0.11.1 JSDT jQuery - lightweight plugin to add jQuery support (tiny alternative to heavy plugins Aptana and jQueryWTP)
To enable jQuery code assist (auto completition) right click "JavaScript Resources" in your project (for PHP project you had to enable JavaScript support) and in "Libraries" tab click "Add JavaScript Library". jQuery library should appear among choices. Choose it, confirm everything and you're done. :)
Download: http://www.fileserve.com/file/MCpZjdv OR http://www.filesonic.com/file/1559490341
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With