Skip to content

daniel-lundin/tern-snabbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tern-snabbt

tern-snabbt is a plugin which adds support for snabbt.js to the JavaSript code intelligence system Tern.

Demo

You can see demo in this git project with CodeMirror in demos/snabbt.html :

Here a screenshot with completion with CodeMirror snabbt completion :

CodeMirror & Snabbt

Installation

tern-snabbt works with the NodeJS [Tern Server][tern-server], and within a browser.

The easiest way to install tern-snabbt is to use a recent version of [npm][npm]. In the directory where you installed the [tern package][tern-npm], simply run

$ npm install tern-snabbt

Configuration

snabbt support snabbt.

With Node.js

In order for Tern to load the tern-snabbt plugin once it is installed, you must include snabbt in the plugins section of your tern-config.

Here is a minimal example .tern-project configuration file:

{
  "libs":["browser","ecma5"],
  "plugins": {
    "snabbt": {}
  }
}

Eclipse IDE

If you are Eclipse user, you can use this tern plugin with tern.java please read here for more informations.

With WebBrowser (CodeMirror)

See demos/snabbt.html

Structure

The basic structure of the project is given in the following way:

  • snabbt.js the tern plugin.
  • demos/ demos with snabbt tern plugin which use CodeMirror.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published