jQuery code assist in Eclipse 3.7
Works for me ;)
This is something I have wanted for ages. jQuery code assist AKA code completion AKA autocomplete AKA intellisense, in my favourite IDE Eclipse.
- Install Aptana 3 plugin: go Help > Install New Software, and use this URL: http://download.aptana.com/studio3/plugin/install
- Enable jQuery bundle: make sure you are using the Aptana (“Web”) perspective and go Commands > Bundle Development > Install Bundle > jQuery
- Use the Aptana JavaScript editor, rather than the default Eclipse / WTP one: go Window > Preferences > General > Editors > File Associations, and click *.js and then make the “JavaScript Source Editor” the default.
And that should be it - open a JavaScript file, and type $(“input”).cli and then hit Space and it should automatically add the code for a jQuery click() event handler.