New and Noteworthy 0.6.0 - angelozerr/tern.java GitHub Wiki

Here's a list of the most noteworthy things in the tern.java 0.6.0 release which is enable since October 2014. You can see issues for 0.6.0

Using JSDT "Include Path" for tern script path

When completion, hover, hyperlink, validation is done the first time, a set of JavaScript files must be posted to the tern server. To do that, you must configure Tern Script Paths.

JSDT provides "Include Path" configuration (Class Path like) which looks like to Tern Script Paths.

Since 0.6.0, you can configure folders, files, projects which host JavaScript files to post to tern server with the JSDT "Include Path" UI (available if your project is a JSDT JavaScript project):

JSDT Include Path

If you go at Tern Script Path, you can check the JSDT "Include Path" is a tern script path too :

JSDT Tern Script Path

JavaScript Editor

Completion

Before 0.6.0, tern completions items was displayed after JSDT completion items :

JSDT Before Tern

Since 0.6.0, tern completions items is displayed before JSDT completion items :

JSDT After Tern

Tern modules support

Lint options

Severity of validation rule of the Lint (Validation) can be customized :

Lint options

Please read Validation Rules to know what this tern lint is able to validate.

Google Apps Script

Add Google Apps Script support :

Completion on Body

For more information, please read Google Apps Script