Tern Toolings - angelozerr/tern.java GitHub Wiki
Tern Toolings are for helping with extending Tern IDE, and for advanced Tern IDE users.
Tern Wizards
Tern IDE provides several wizards :
Tern JSON type definitions
This wizard gives you the capability to create a Tern JSON type definition file.
Tern (Server) plugins
This wizard gives you the capability to create a Tern Server plugin file.
See Creating Tern Plugins for more informations.
Tern Web Browser (Editor) Wizards
Tern IDE provides wizards to create an Web Browser HTML editors like Eclipse Orion, CodeMirror or Ace with Tern :
Wizard for Tern with Orion
Select Orion editor :
Select JSON type definition :
Select server plugin :
Select a container where you wish to generate the Orion editor index.html :
Finish button generates Orion editor :
If you open the generated index.html in your browser, you will see Orion editor and completion available with Ctrl+Space :
Completion will use JSON type definition and server plugin taht you have selected. Here a screenshot with AngularJS that it has been selected :
Glue between tern and Orion is managed with tern.orion.
Wizard for Tern with CodeMirror
You can generate CodeMirror editor too (see explanation with Orion).
Glue between tern and Ace is managed with the official CodeMirror tern addon.
Wizard for Tern with Ace
You can generate Ace editor too (see explanation with Orion).
Glue between tern and Ace is managed with tern.ace.