Skip to main content

VJET: JavaScript Toolkit

VJET: JavaScript Toolkit

The VJET JavaScript Toolkit (VJET) project is a proposed open source project under the Eclipse Web Tools Platform Project (WTP).

This proposal is in the Project Proposal Phase (as defined in the Eclipse Development Process) and is written to declare its intent and scope. We solicit additional participation and input from the Eclipse community. Please send all feedback to the Eclipse Proposals Forum.


VJET JavaScript IDE aims to provide the best and most productive JavaScript functional and multiple-library development tools for JavaScript developers for the Eclipse platform. In different JavaScript libraries, the typing concepts are manifested through classes, mix-ins, modules, interfaces, enumerations where you want to have excellent type code assist, validation and searching for these types. In addition, there are also many native JavaScript concepts where VJET solves code completion for advanced features such as mixed typing, overloaded functions, function call-backs, and typed object literals. VJET is currently an open source project on and the project plans on moving the code to the Eclipse Foundation to work closer with the Eclipse ecosystem and the projects VJET depends on and forks.


VJET JavaScript IDE's focus is a general purpose toolkit for the JavaScript language which can be extended to understand different JavaScript libraries. VJET is meant to help JavaScript developers to code with simple JS code to more complex class/type libraries.

Out of Scope

While we understand there are other efforts for JavaScript editing in the Eclipse foundation, the VJET JavaScript IDE does not plan on replacing the 2 other known JavaScript projects: the JavaScript Development toolkit or JSDT project and Orion. We do however plan on collaborating with the JSDT and Orion projects.


VJET JavaScript IDE is a set of Eclipse plug-ins and core foundation that provides a fully integrated development environment for JavaScript - from authoring, to execution/test, and debugging.
  • Code Assistance - based on static analysis, js type inferencing, js type libraries, and user defined types
  • Code Search - provide the best support for call hierarchy, find declarations, type hierarchy, type searching
  • Syntax (mandatory) and Semantic Checking (optional) - through a type meta model we validate the well known types/ methods / api usage - to help with upgrading
  • Type Declarations using VJETDoc - Provide a simplified syntax for defining JS object literals, functions, and JS library class properties, methods in a comment
  • Type library support using VJET VJO - ability to extend VJET using JavaScript
  • Java to JavaScript type - Java to JS provides a way for Java types to be translated to JavaScript which can either be authored in Java or switched to source in JavaScript.
  • Execution/Debugging - provide a way to run and debug directly in Eclipse, integration between JDT debugger and VJET debugger is also available.

Why Eclipse?

VJET is primarily an Eclipse plug-in and it is our long term goal to work with the well established and well known foundation for managed open source projects for eclipse plug-ins to help grow the community.

Based on community feedback we realized that we needed to work closer with the web tools project. To collaborate with other JavaScript related projects. For example the browser firebug debugger that JSDT has we would like to work closer so that we can both use this module.

To help VJET project benefit from the large eclipse end-user and plugin developer community. We want to enable more developers to use VJET capabilities as well as help them extend those capabilities for libraries.

Initial Contribution

The initial contribution will be from eBay software foundation.

The initial contribution will contain the following components:

  • VJET core modules which do not depend on eclipse packages which act as back-end for VJET capabilities.
    • Jst Typespace provides indexing and queries for all JavaScript types.
    • JST a higher level AST that understands Js types, Free form JavaScript and VJET Doc
    • Browser SDK - Java interfaces and annotations for describing the multiple browser JavaScript apis
    • Browser Dom syncing.
    • JSDT forked AST parser minus Eclipse resource dependencies or JSDT inference engine.
    • Vjo Generator - a generator for generating VJET vjo from a Jst model
    • Java to Js generator translates Java from Eclipse JDT parser and translates the Java to JstType which is then generated into JS using Vjo Generator.
  • VJET eclipse - The VJET IDE for eclipse provides the front end of VJET.
    • DLTK extension points
    • VJET selection engine
    • VJET editor
    • VJET builder to validate and sync the type-space.
    • JST to DLTK light weight model translator.
    • VJET debug Rhino server
    • VJET debug integration with JDT debugger.
    • VJET type space viewer for Eclipse
    • VJET Script unit viewer for viewing the JstType and additional data in Script Unit
    • VJET AST View which shows the original AST and recovered AST models.
    • VJET help - Eclipse help, cheat-sheets.
    • VJET WTP HTML editor integration.
    • VJET VJETV a head-less application that can validation JavaScript syntax and semantics.
    • VJET launching - a way to launch JavaScript applications in multiple ways.
  • VJET vjo - A JavaScript library for constructing types for runtime and authoring time.
    • vjo.ctype - class
    • vjo.otype - object literal type
    • vjo.mtype - mixin type
    • vjo.itype - interface type
    • vjo.etype - enum type
    • vjo.ftype - function type
  • VJET typelibs - For getting support for many popular JavaScript libraries using vjet type meta-model
    • Dojo 1.6
    • EcmaScript Ed. 5 api updates
    • HTML Canvas 2D API
    • jQuery 1.4
    • jQuery Mobile 1.0 Alpha 4.1 (Requires JQuery Type lib)
    • JSON
    • Node.js 0.4
  • VJET incubator type libraries - For getting support for many popular JavaScript libraries using vjet type meta-model
    • Console API type library
    • Ext JS Core
    • Orion JS
    • W3C performance timing api - based on the draft w3c spec
    • PhoneGap
    • PrototypeTL
    • SWFObject
    • ScriptaculousTL
  • VJET test libraries
    • Ecma Script test suite
    • W3c dom test suite
    • Type Semantic testing
    • Code assist testing
    • Js to Java proxy tests
    • Java to VJET vjo JS tests
  • VJET dependencies
    • test framework
    • utilities required to run VJET JS IDE.
The initial contribution will include the following modified open source dependencies:
  • a forked version of JSDT JavaScript AST parser. (EPL)
  • a forked version of DLTK editor toolkit (EPL)
  • a forked version of Rhino JavaScript runtime. (Apache)
What is the extent of each fork?
  • For the DLTK project we added back JDT toolkit features to this project that were not part of DLTK original design goals such as typing concepts which are part of JDT project which DLTK pulled out.
  • For the JSDT project this fork is a cherry pick. We pulled out the parser package and removed the inferencing components.
  • For the Rhino project, we modified the runtime to handle obfuscation bugs and runtime bugs which support VJET Java and JavaScript integration.
What is the goal to resolve forks?

VJET has a goal of eliminating forks of project code and get things to a point where you could just extend the projects. In the long term, the project we modify we would like to work together to help them to be at the right level of extensibility so we can resolve our forks and inturn help the community.

Legal Issues


The following individuals are proposed as initial committers to the project:

Justin Early, eBay
Justin is a committer on the VJET ebayopensource project where he has made significant contributions over many years. He will be contribute to all VJET JS IDE functionality in this new project.
Dr. Ashvin Radiya, Avantsoft
Ashvin and his team has provided significant contributions to the existing code base. They will contribute extensions to VJET functionality in this new project.

We welcome additional committers and contributions.


The following Architecture Council members will mentor this project:

  • David Carver
  • Chris Aniszczyk

Interested Parties

The following individuals, organizations, companies and projects have expressed interest in this project:

  • Luca Candela, Sencha
  • Simon Kaegi, IBM

Project Scheduling

Changes to this Document

Date Change
22-May-2012 Document created
31-May-2012 Updated initial contribution section, mentors section
11-June-2012 Updated sections interested parties, background, why eclipse, initial contribution

Back to the top