Http://www.cnblogs.com/sayo/archive/2008/10/14/1310769.html
Three JavaScript editors are available:
1. jsdt
2. jseclipse
3. spket
Install these three plug-ins:
1. jsdt is the built-in plugin of WPT.
Once WTP is installed, jsdt does not need to be installed separately. You can also learn some information about jsdt: http://wiki.eclipse.org/index.php/ATF/JSDT
2. jseclipse
Jseclipse can be installed from the http://download.macromedia.com/pub/labs/jseclipse/autoinstall via the eclipse auto update feature:
Install the checked jeclipse plug-in, as shown in.
Jeclipse is a javascript editor. To use extjs, you also need to download this file and decompress all the XML files to your eclipse workspace directory:
Eclipseworkspace/. Metadata/. plugins/COM. interaktonline. jseclipse/user_library
Below. Then restart eclipse.
Ext_jseclipse.zip
3. spket
Install plug-ins from http://www.spket.com/update/ via eclipse auto update:
After installation, set extjs:
As shown in the following figure:
Window → preferences → spket → JavaScript profiles → new. Name extjs in the displayed dialog box and click OK. Select extjs and click Add library to load/source/EXT. JSB in the downloaded ext package. Finally, select extjs and click the default button on the right to make it the default item. That's all.
After the above setup, you can open a JS file in multiple ways:
I personally think jseclilpse is relatively easy to use.