Skip to content

New and Noteworthy 1.0.0

Paul Verest edited this page Jul 13, 2015 · 33 revisions

Here's a list of the most noteworthy things in the tern.java 1.0.0 release which will be available for download at ?. You can see issues for 1.0.0

Include/Exclude Tern script paths

When the completion, hyperlink, hover, validation is executed the first time tern.java load some JavaScript files according your configuration of tern script paths.

You can have performance problem, for instance if you use bower, npm which download a lot of JavaScript files inside /bower_component , /node_modules folder. Eclipse Mars excludes now by default those folders; tern.java is now able to use it.

To improve performance, now you can include/exclude JavaScripts files to load by using JSDT JavaScript / Include Path :

Include/Exclude path

If you go at Tern /Scripts Path, you can check that JavaScript files from your /bower_component , /node_modules folders will be ignored by tern.java:

Include/Exclude path check

Tern Hyperlink inside HTML

Tern hyperlink is now available inside HTML editor :

HTML tern hyperlink

Browser Extension

Browser Extension provides advanced features like completion, hyperlink, validation

  • for HTML elements ids :

Browser Extension Completion

  • for CSS Selectors :

Browser Extension Completion

jQuery Extension

jQuery Extension gives the capability to provide support for CSS selectors :

jQuery Extension Completion

YUI

YUI Completion

Delite

Add a support for Delite :

jQuery Mobile Completion

For more information, please read Delite.

Validation

Lint validator was improved.

Multiple type support

The Lint validator is able to validate multiple types:

Validation with multiple type

JSDoc support

The Lint validator is able to validate your JavaScript files by using JSDoc annotations :

  • here a sample with assignment type error :

Validation with JSDoc

  • here a sample with function parameter type error:

Validation with JSDoc

Clone this wiki locally