-
Notifications
You must be signed in to change notification settings - Fork 52
Tern & ECMAScript5 support
angelozerr edited this page Aug 3, 2015
·
7 revisions
tern provides a support for ES5 with ecma5.json. It uses acorn parser which is able to parse ES5 JavaScript code.
After installing and converting your project as Tern Project (see Tern-Eclipse-IDE), open Project Properties, click on Tern / Modules item and select the ECMAScript module
and 5 version
:
ECMAScript 5 gives the capability to provide completion for Array :
In this sample, arr
is an Array of number, the completion for elt
item provides Number methods :
- 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