VJET/User Guide

From Eclipsepedia

Jump to: navigation, search

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

More information on VJETDoc

Using VJET VJOJS

VJET Vjo is a lightweight Javascript library which can be used to define objects in JavaScript.

Hello World Example using vjo.js http://plnkr.co/edit/JQ0wDV

http://wiki.eclipse.org/Category:VJOJS

Migrating from org.ebayopensource version of VJET

http://wiki.eclipse.org/VJET/SwitchingFromEbayOpenSourceVJET

How to use Java to JavaScript?

http://wiki.eclipse.org/Category:JavaToJs

How to use JavaScript to Java?

http://wiki.eclipse.org/Category:JsToJava

How to use 3rd party javascript libraries?

http://wiki.eclipse.org/Category:JavaScript_TypeLibraries