Tern & ECMAScript support - angelozerr/tern.java GitHub Wiki
tern provides a support for the following versions of ECMAScript:
- ES5 support with ecma5.json.
- ES6 support with ecma6.json.
New Preferences
ECMAScript
Since 1.1.0, Tern IDE provides an ECMAScript UI preferences. After installing and converting your project as Tern Project, go at Tern project property, click on Tern item and select the ECMAScript version
:
JSDoc
tern can use JSDoc
help the inference engine to discover types.
Old Preferences
After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the ECMAScript module
and version
: