RSS Feed for This PostCurrent Article

Javascript Code Analysis Engine

Tern is a stand-alone code-analysis engine for JavaScript. It is intended to be used with a code editor plugin to enhance the editor’s support for intelligent JavaScript editing. Features provided are:

  • Autocompletion on variables and properties
  • Function argument hints
  • Querying the type of an expression
  • Finding the definition of something
  • Automatic refactoring

Tern is open-source (MIT license), written in JavaScript, and capable of running both on node.jsand in the browser.

There is currently Tern support for the following editors:

Follow the links to find instructions on how to install the plugins.


Trackback URL


Sorry, comments for this entry are closed at this time.