-
Notifications
You must be signed in to change notification settings - Fork 52
Tern & RequireJS support
angelozerr edited this page Sep 9, 2015
·
7 revisions
tern.js provides the requirejs tern plugin which gives a support for RequireJS.
After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the requirejs tern plugin :
After that you can benefit with require.js completion for require object as well as on other variables and methods provided by RequireJS:
You have completion too for object literal properties :
When you apply completion, it generates a property key/value :
- 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