Another three months and another awesome release! Its that time again where I share all of the cool new features, enhancements and fixes with you. As usual with every release, there were lots of changes, so lets jump right in.
The work that began in 13.0 to make Orion completely accessible to every developer continued at a furious pace in 14. This time around, our work was focussed on having the correct colour contrast.
We tightened up our colours in the light theme so that all colours pass the WCAG 2.0 AA guideline for colour contrast. The changes are subtle, but they do make text easier to read, as seen in this before-and-after snapshot of selected code in the editor.
Automatic Project Configuration
Disable Linting In-File
Tired of being nagged about a particular code pattern used in certain places (but like to be warned elsewhere)? You can now use the new quickfix to ignore the problem in the current file.
Improved ESLint configuration file support
The CSS and HTML parsers have been updated to properly support SVG attributes and properties. The HTML and CSS validation has also been updated to properly process the new attributes and properties.
Syntax styling grammars can now define a firstLineMatch attribute. This enables multiple grammars to be defined for a content type, and the grammar that gets applied will be chosen based on the first line of content.
The node server now stores its tasks metadata in a Mongo DB when running as multi-tenant. As a result, requests querying long-running tasks can now be handled by different server instances that have access to the shared Mongo DB.
Automatic Syntax Checking
Previously, syntax checking took place when a file is saved – if you have autosave turned on in Orion, this is not a problem, as problem markers would be updated as you made changes. If however, you had autosave turned off, any problem markers would quickly become stale causing confusion. Now, in Orion 14, syntax checking will take place on a regular interval even if autosave is turned off, to try and avoid stale problem markers piling up.
New File Client API
The Orion file client has been updated with the ability to find a project given a particular resource path. The new API can be invoked as:
A new type of annotation has been added to Orion – the info annotation.
Always wanted to only show annotations in certain parts of the IDE? Well, now you can.
Simply navigate to the editor settings preference page, and look for the Annotations, Overview Annotations and Text Annotations sections to configure annotation visibility as you’d like.
Don’t forget, you can also use the handy star buttons to have the preference(s) show up in the quick preference menu.
Finally, after all this time, we have the ability to change the theme of not just the editor, but the entire IDE from the preferences!
Not happy with the default theme in Orion? Head over to the IDE Theme preferences page to change to another theme (currently there are only two of them) or create your own (by modifying an existing theme and saving it as your own).