Skip to main content

Eclipse Web Tools Platform 3.8
New and Noteworthy

Back

Javascript Tools

New ES6 capable JS Parser

    JSDT uses a new parser with EcmaScript 2015 (ES6) support. This allows JSDT to recognize and support ES6 language constructs and provide better validation accuracy compared to earlier parser.

    As this is the initial drop of ES6 support, not all JSDT features are connected with the new parser in this milestone.

    JS Editor


Bower & NPM

    JSDT is now supporting two package managers Bower and npm. There are wizards for creating bower.json / package.json and launch shortcuts for executing update and install commands.

    NPM Wizard

    Bower Launch

    Bower Console

    Both package managers fall back on native implementation, hence the following software must be pre-installed on the system:
    • Node.js
    • Bower
    • NPM

Grunt & gulp

    Grunt and gulp build systems are available in JSDT. All tasks are accessible from the project explorer view and can be executed via launch shortcuts.

    Gulp Launch

    Gulp Console


Chromium V8 debugger

    Node.js applications can be debugged via Chromium V8 debugger. For now debugging via virtual file system is only supported. This feature is available in the WTP Neon M6 repository, but not included by default, search for "JavaScript Development Tools Chromium/V8 Remote Debugger"

    Chromium Debugger


New Node.js support

    JSDT now provides a Node.js runtime definition via Eclipse Preferences -> JavaScript -> Runtimes
    Node.js Runtime
    Also there is a new Node Launch configuration for running / debugging Node.js applications.
    Node.js Launch
    The process of debugging has been significantly improved. Now all debugging happens directly in the JSDT editor
    Node.js Debug
    While debugging, all JavaScript variables will be available in the *Variables* view
    Variables View
    Hovering over variables in the editor is also supported:
    Hovering over function
    In order to use Live Edit funtionality just save the file with new changes, right click on it -> V8 Debugging -> Push Source Changes to VM:
    Push Source Changes to VM

WTP Logo Banner

Back to the top