jQuery Code Content Assistance for Eclipse WTP

13

Posted on : 10/13/2008 | By : Jimmy Vu | In : jQuery

JavaScript code content assistance built in Eclipse WTP does very good job that I found even better than the same functionality in some commercial solutions, however, jQuery’s syntax is not supported (no surprise). That’s why jQueryWTP tool comes to help adding jQuery support to Eclipse WTP (and Eclipse PDT, MyEclipse which are based on WTP too.)

This is not an Eclipse plugin instead a tool to patch the existing plugin and inject jQuery’s syntax support into it. First download the tool from SourceForce; it’s a Java executable JAR so you can double-click to it or run it from command line:

java -jar jqueryWTP0.2forJQuery1.2.6.jar

Now browse to plugin file

org.eclipse.wst.javascript.ui_xxxxxxx.jar

and set output directory to generate the patch. Please backup the original file and set output directory different from source one.

 

jquery-eclipse-wtp-ui.gif

 

Select “Generate” button to get the patched file then copy over original file. Start Eclipse and open a HTML or script file to see jQuery’s functions listed on code assistance like image below.

 

wtp-code-assistance.gif

 

Find more info about jQueryWTP and donate for project here.

Recommended Reading

JavaScript & jQuery: The Missing ManualJavaScript & jQuery: The Missing Manual

JavaScript lets you supercharge your HTML with animation, interactivity, and visual effects—but many web designers find the language hard to lear... Read More >

Programming AndroidProgramming AndroidWhat does it take to build well-engineered Android applications? Explore Android's core building blocks and APIs in depth with this authoritative guid... Read More >
jQuery in Action, Second EditionjQuery in Action, Second Edition

A really good web development framework anticipates your needs. jQuery does more-it practically reads your mind. Developers fall in love with this ... Read More >

Share this :

  • Stumble upon
  • twitter

Comments (13)

Hello!
I installed Eclipse Galileo (PHP) and WTP but I don’t find the plugin org.eclipse.wst.javascript.ui_xxxxxxx.jar…..
Thanks to help me

It seems working only with Eclipse 3.3 and Java 6.

You have to use java 6 to run the program.