-
Notifications
You must be signed in to change notification settings - Fork 52
Tern & Node.js support
Angelo edited this page Sep 9, 2015
·
9 revisions
tern.js provides the node Tern plugin which gives a support for Node.js.
After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the node tern plugin :
After that you can benefit with Node.js completion on require :
and completion for module :
Tern is able to know the module of the require and if you write require('fs'), you can benefit from fs functions completions :
Tern is able to know the type of the function argument and you can benefit from err functions completion :
If you select Node lint, you can benefit with validation for require module :
- 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