Skip to content

New and Noteworthy 0.3.0

angelozerr edited this page May 12, 2015 · 19 revisions

Here's a list of the most noteworthy things in the tern.java 0.3.0 release which is enabled since June/July 2014. You can see issues for 0.3.0

Tern Modules

Since 0.3.0, Tern facets becomes Tern Modules.

Tern Modules Property Page

The UI to select a tern plugin or JSON Type Definition was improved :

Tern Modules

You can see :

  • Version : you can select the version of tern plugin (if it provides several version)

  • Details/Dependencies/Options : when you select a tern plugin, you can see details, dependencies and options of the tern plugin :

    • Details : this tabs describe the tern module and gives sume useful links like the home page of the framework, bugs to create issues if you need improvements/fix for the tern plugin, help.
    • Dependencies : this tabs shows dependencies of the tern module. For instance jQuery module depends on browser and ecma5 modules (jQuery JSON Type Definition uses Element definition coming from browser). If you select jQuery and their depencencies is checked, it will select too ecma5 and browser.
    • Options : some tern plugin can be configured. Dee node and requirejs tern plugins.

New support

Node.js preferences

Starts of node.js server (see issue 52) was improved with test number :

Node.js

The first time, before executing completion, hover, hyperlink, validation is executed, a node.js server is started to execute tern.js. A thread waits that node.js server is started before requesting tern server for completion, hover, hyperlink, validation.

Before test number, this thread waited once, during N ms.

Now with test number, this thread waits during N/TestNumber ms and do that TestNumber times until node.js server is started.

Tern Hover

Text hover was implemented inside JSDT editor with tern. Here a screenshot with jQuery:

Tern Hover

Clone this wiki locally