Tern Console - angelozerr/tern.java GitHub Wiki
Tern Console
By default, Tern IDE consumes the JavaScript inference engine ternjs with node.js, in other words when you open completion, hyperlink, hover, etc, Tern IDE post a JSON request (ex: give me completion for the given file at the given position) to the ternjs and receive a JSON response (ex: a list of completion items to display).
If you wish you can see those JSON request/response which can b ehelpful:
- if you wish to check that ternjs is working or discover a problem a(why my completion doesn't work?)
- if you are developping a custom tern plugin.
How to use it?
Once you have activated this preference, if you try to open an HTML editor, validation is done and starts using tern server, the tern console opens automaticly and display JSON request/response :
If you do completion, you will see JSON request/response of the Nodejs Tern server :