-
Notifications
You must be signed in to change notification settings - Fork 51
Tern Outline support
Angelo edited this page Aug 11, 2015
·
14 revisions
tern-outline provides the outline Tern plugin which gives a support for Outline. This plugin is used by Tern Explorer View to fill it with the current content of JSDT JavaScritpt editor :

This View provides the same features than JSDT Outline but it tries to improve it. In previous screenshot, you can see Tern Explorer View and JSDT Outline. In teh following sample :
var arr = ["string"];
var n1 = 10;
n1 = "";
function sum(x1, x2) {
var tmp = x1 * x2;
return tmp;
}
var n2 = arr;You can notice :
-
arris an array of string (JSDT Outline doesn't shows that). -
n1is a number or a string (JSDT Outline doesn't shows that). -
sumfunction body containstmpvariable (JSDT Outline doesn't shows that). -
sumfunction returns a number (JSDT Outline doesn't shows that).
After installing and converting your project as Tern Project (see Tern-Eclipse-IDE), open Project Properties, click on Tern / Modules item and select the Outline tern plugin (ECMAScript tern plugin must be selected too) :

Open the Tern Explorer view :


- Tern IDE
- Tern Toolings
-
Tern Modules
- AngularJS
- AlloyUI
- Browser
- Bootstrap
- CKEditor
- CordovaJS
- Dojo Toolkit
- ECMAScript
- ExtJS
- Game
- jQuery
- JSDoc Support
- Liferay
- Meteor
- Node.js
- Qooxdoo
- snabbt.js
- RequireJS
- Tabris.js
- three.js
- Titanium
- YUI Library
- Completion
- Linter (Validator)
- Tests
- JavaScript Build
- New and Noteworthy