Tern Eclipse IDE - angelozerr/tern.java GitHub Wiki
Tern IDE - Installation
It is recommanded to use the Eclipse JEE distribution because Tern Eclipse IDE works with WebTools and JSDT (extends completion of JSDT), see the Technical-information and issue #29.
- Install Tern Eclipse IDE via the update site or with Marketplace .
- By default, tern.java uses embed node.js, so you can use tern.java out of box, but you can configure Node.js.
Tern IDE - Configuration
Convert To Tern Project
Tern project properties
Tern project properties used to configure tern, is available:
- in
JavaScript / Tern
if your project has JavaScript Nature (JSDT):
Tern
if your project has NOT JavaScript Nature (JSDT):
Configure ECMAScript
With Tern property, you can configure:
- ECMAScript version and if you wish to use ECMASCript modules:
- use of JSDoc support.
Configure Tern Modules
Select your tern modules according the JavaScript framework you wish to use (jQuery, Node.js, etc):
Tern features
Once those configuration are done, you can benefit from Tern's auto-completion, hover, hyperlink and validation.