Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "VJET/User Guide"
(→Using VJET Vjo) |
|||
Line 33: | Line 33: | ||
[http://wiki.eclipse.org/Category:VJETDoc More information on VJETDoc] | [http://wiki.eclipse.org/Category:VJETDoc More information on VJETDoc] | ||
− | == Using VJET Vjo == | + | == Using VJET Vjo == |
+ | |||
+ | VJET Vjo is a lightweight Javascript library which can be used to define objects in JavaScript. | ||
+ | |||
+ | http://wiki.eclipse.org/Category:VJO | ||
== Migrating from org.ebayopensource version of VJET == | == Migrating from org.ebayopensource version of VJET == | ||
http://wiki.eclipse.org/VJET/SwitchingFromEbayOpenSourceVJET | http://wiki.eclipse.org/VJET/SwitchingFromEbayOpenSourceVJET |
Revision as of 14:12, 5 December 2012
Contents
Installation Instructions
http://wiki.eclipse.org/VJET/VJET_JavaScript_IDE_Installation_Guide
Writing JS
After installation switch to the VJET perspective
Then Create a VJET project
Then create a new JS file
In your new .js file type control + space and see content assist help you with Primitive Javascript and Browser apis.
Writing JS and using other JS files
If you want to let VJET know about variables or functions that you want to use from another file see
http://wiki.eclipse.org/VJET/JS_code_assist_and_validation_for_two_or_more_js_files
Using a JavaScript Library
TODO
Using VJETDoc
While writing .js files you can add comments your file for "typing" your js functions and variables.
Here is a simple example where one comment helps find errors
http://wiki.eclipse.org/VJET/Type_Declarations_Using_VJETDoc
Using VJET Vjo
VJET Vjo is a lightweight Javascript library which can be used to define objects in JavaScript.
http://wiki.eclipse.org/Category:VJO
Migrating from org.ebayopensource version of VJET
http://wiki.eclipse.org/VJET/SwitchingFromEbayOpenSourceVJET