Tern & Closure support - angelozerr/tern.java GitHub Wiki
tern-closure provides the closure tern plugin which adds a support for Closure Compiler annotations and the Closure Library
This support provides completion, hyperlink, text hover and validation for Closure framework. here a screenshot with Closure completion :
Closure configuration
After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the closure tern plugin :
After that you can benefit with goog provide/request completion :
Closure sources configuration
If you need more completion like goog.dom, etc, you need to copy sources of Closure in your Eclipse project :
You must configure this dirs as closure source :
After this configuration, tern-closure uses the Closure sources to provide completion for classes :
Features
Closure completions
Closure text hover
Closure hyperlink
Closure Validation
If you select lint tern module, you will benefit with validation :