GearsWTP
The Google Gears is an open source browser extension that lets developers create web applications that can run offline.
Eclipse WTP support javascript code content assistance,but Google Gears Javascript API doesn't work.
GearsWTP is a tool make Eclipse WTP support Google Gears API.
Download
you can download here.
Installations
step1:download gearswtp_version.jar
step2:find you Eclipse Plugin org.eclipse.wst.javascript.ui_xxxxxxx.jar,backup the plugin.
step3:double click the jar file or run with command java -jar gearswtp0.1.jar
step4:on the opened swing UI,choose org.eclipse.wst.javascript.ui_xxxxxxx.jar,and output dir.
You can rename database to db if you use map as Database variable.also you can use comma support more than one variables.
step5:click generate button.
step6:replace old org.eclipse.wst.javascript.ui_xxxxxxx.jar file with the generated file.
step7:restart eclipse.
How it works
GearsWTP add Javascript code content assistant config file's to Eclipse Plugin org.eclipse.wst.javascript.ui_xxxxxxx.jar.
here is the config snippet copied from the plugin,which make WTP support document.getElementById
#/---------------------------------------
#!getElementById()
#@type=method
#@iesupport=y
#@nssupport=n
#@ecmasupport=n
#@fc=doneclass
|
|