|Orion 9.0 Released|
|Written by Kay Ewbank|
|Monday, 06 July 2015|
The new release also includes a new widget called ‘Code Edit’ that you can use to embed the Orion editor into your web pages with all the features that the Orion editor offers.
The biggest single change in this version of Orion overall is the addition of a Tern server for code analysis. This replaces the old content assist and hover information that was powered by Orion. Tern is a code analysis tool running on the existing Esprima based parser. According to the announcement of the new version on the Orion News site:
"As soon as you start editing code we are feeding Tern information about what you are working on. Beyond the file you are editing we follow dependencies and add their information to Tern as well. This includes Node libraries linked through require() calls, AMD modules linked via define() calls and embedded scripts in HTML files. Further to that, Orion includes Tern readable indexes containing type information for common libraries including ECMAScript, Node.js, Redis, MySQL and others.
Tern performs code analysis on all of the scripts available and returns highly accurate and context specific content assist proposals (Ctrl+Space to activate). We have a large library of code templates as well to help you code faster.”
Tern also returns in-depth descriptions for the types and functions you use, and this information is delivered in the form of tool-tips to help you understand the arguments in your API calls.
Other improvements to the new version include new versions of Orion’s third party libraries (ESLint 0.15.1, ESTraverse 1.9.0, Esprima 2.0). New validation rules have been added, including no-shadow-global, no-proto, no-undef-init, no-with and missing-nls.
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
or email your comment to: email@example.com
|Last Updated ( Monday, 06 July 2015 )|