-
Notifications
You must be signed in to change notification settings - Fork 52
Tern & CordovaJS support
tern-cordovajs provides the cordovajs Tern plug-in which gives a support for Cordova.js. (we hope that the official tern.js whill host this plugin).
After installing and converting your project as Tern Project (see Tern-Eclipse-IDE), open Project Properties, click on Tern / Modules item and select the cordovajs tern plugin :
After that you can benefit with cordova.js completion for cordova object as well as on other variables and methods provided by CordovaJS:
Tern is able to provide the the content assist on cordova object's members:
tern.js can be used inside a WebBrowser. It exists a CodeMirror Addon which is enable to plug tern with CodeMirror.
If you wish to see in action CordovaJS & CodeMirror, you can play with the online demo at http://codemirror-java.opensagres.eu.cloudbees.net/codemirror-JavaScript/demo/cordovajs.html
Here a screenshot of CordovaJS completion with CodeMirror :
- 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