blob: 3dfcfe349dd65f694f2d1da110fa4be0fdd1239d [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="default_style.css" type="text/css" title="main" media="screen" />
<title>Orion 4.0 M1 News</title>
</head>
<body>
<h3 id = "markdown">Embedded markdown renderer</h3>
Orion now has built-in support for rendering <a href="http://daringfireball.net/projects/markdown/">markdown</a> files, using the <a href="https://github.com/chjj/marked">marked</a> markdown parser. If you select a folder containing a <tt>readme.md</tt> file in the navigation pane, the editor will now show the rendered readme file in the editor pane.
<p><img src="images/markdown.png"/></p>
<h3 id = "bracket-completion">Bracket completion</h3>
The Orion editor will now automatically close braces, brackets, and single and double quotes. When you type an opening brace, bracket or quote, the closing character will be inserted automatically and the cursor placed between the matching pair. If you select some text and type an open bracket or quote, the entire selection will be enclosed in a matching pair.
<h3 id = "smart-indent">Smart indent</h3>
The Orion JavaScript editor now supports smart indentation. When you press return after an opening brace character, the following line will be indented by one additional tab. If you don't like it, smart indentation can be turned off from the editor settings page.
<h3 id = "block-comment">Block comment completion</h3>
The Orion JavaScript editor will now auto-complete block comments. If you press return on a line containing
only <tt>/*</tt> or <tt>/**</tt>, the editor will insert the closing comment characters, and automatically begin each line within the block comment with a <tt>*</tt> character.
<p><img src="images/block-comment.png"/></p>
<h3 id= "visible-whitespace">Option to show whitespace characters</h3>
A new option has been added to the Orion editor to display a visible character for whitespace (tabs and spaces).
<p><img src="images/visible-whitespace.png"/></p>
<h3 id = "trim-whitespace">Trim trailing whitespace on save</h3>
The Orion editor can now optionally trim all trailing whitespace from the file on save. This setting is turned off by default, but can be be enabled from the <b>Editor</b> settings page.
<h3 id = "editor-appearance-settings">Customized editor rulers</h3>
New options have been introduced to customize what rulers are shown in the margins of the Orion editor. You can display or hide line numbers, the code folding bar, the annotation ruler, and the overview ruler on the right hand side. The following image shows the same editor with all rulers removed on the left, and revealed on the right.
<p><img src="images/editor-rulers.png"/></p>
<h3 id = "editor-local-menu">Customize local editor settings dropdown</h3>
You can now customize what editor settings appear in the local editor settings menu. Use the circles next to each setting in the full settings page to select which settings appear in the editor (wrench) menu. Put settings here if you find you need to change them frequently, and remove them to avoid clutter if they are settings that you never touch.
<p><img src="images/custom1.png"/><img src="images/custom2.png"/></p>
<h3 id = "toggle-regex">Toggle regular expression search in search bar</h3>
An indicator icon has been added to the search and replace slideout in the editor to show whether you are doing a simple search or regular expression search. A blue icon indicates that regular expression mode is enabled, and grey indicates simple search mode. The icon can be touched or clicked to toggle between modes.
<p><img src="images/toggle-regex.png"/></p>
<h3 id = "replace-whitespace">Search support for replacing with whitespace characters</h3>
When performing search and replace in the Orion editor, you can now include the following whitespace characters in the replacement text:
<ul>
<li>\t (tab)</li>
<li>\n (linefeed)</li>
<li>\r (carriage return)</li>
<li>\R (current file line delimeter)</li>
</ul>
<p>
This feature only works when regular expression mode is enabled in the search and replace bar.
</p>
<h3 id = "tolerant-parsing">Content assist more tolerant of syntax errors</h3>
Enhancements have been made to Orion's content assist to make it more tolerant of missing braces and brackets. It will now compute correct proposals in many more cases of partially incomplete code.
<p><img src="images/tolerant-parsing.png"/></p>
<h3 id = "assist-indexes">Support for tern indexes in content assist</h3>
The Orion content assist engine now supports proposals driven by pre-built type index files. The currently supported index file format is taken from <a href="http://ternjs.net/doc/manual.html#typedef">tern</a>. While Orion currently only includes pre-built index files for default JavaScript types, this will enable future enhancements to enable content assist across multiple script files.
<h3 id = "page-content-assist">Navigate content assist with page up/down</h3>
You can now navigate through a large list of content assist proposals using the <b>Page Up</b> and <b>Page Down</b> keys on your keyboard.
<h3 id = "delta-save">Auto-save now transfers only file deltas</h3>
Editor auto-save has been enhanced so that it only sends the changed portions of the file rather than the entire file contents. This won't be a noticeable change for most users, but it significantly improves the performance and bandwidth characteristics when editor auto-save is turned on.
<h3 id = "editor-ie8">Editor runs on Internet Explorer 8</h3>
The Orion editor now tolerates running on <a href="http://theie8countdown.com/">Internet Explorer 8</a>. The rest of Orion still requires a modern web browser (most recent version of IE, Chrome, Firefox, or Safari).
<h3 id = "jslint-disable">JSLint can be turned off</h3>
A new setting has been introduced to turn off JSLint validation. The setting is found on the <b>Validation</b> section of the settings page.
<h3 id = "git-blame">Git blame</h3>
Support has been added to enable in-editor <a href="https://www.kernel.org/pub/software/scm/git/docs/git-blame.html">Git blame</a> on a file. After installing the Git Blame plugin (install URL: &quot;/plugins/gitBlamePlugin.html&quot;), a new blame button is added to the editor page. Clicking on the button creates blame annotations in the line ruler and the overview ruler. The blame markers are colored based on the date of their commit with the lighter shades coming earlier. Hovering over a blame annotation will highlight all parts of the same commit and display a tooltip with the commit information. Clicking on the link in the tooltip will open up the Git Commit page that for the particular commit.
<p><img src="images/blame2.png"/></p>
<h3 id = "git-revert">Git revert command added</h3>
Support for the <tt>git revert</tt> command has been added to Orion. Beside each commit in the <b>Log</b> page, there is a new button that will revert the effect of that commit in your current active branch.
<p><img src="images/git-revert.png"/></p>
<h3 id = "jgit3">Upgraded to JGit 3.0</h3>
The Orion Git integration has been upgraded to use a new major version of JGit, version 3.0.
<h3 id = "mixed-content">Mixed content blocking and Orion</h3>
While not a change in Orion itself, a recent browser change has an impact for people hosting Orion plugins and Orion-based web applications. Major browsers are now consistently blocking sites served over HTTPS from incorporating scripts from raw HTTP sites. This is referred to in the security community as <i>mixed content</i>, and is now blocked by default in <a href="http://blog.chromium.org/2012/08/ending-mixed-scripting-vulnerabilities.html">Chrome 19</a> and <a href="https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabled-in-firefox-23/">Firefox 23</a> or newer. We recommend all Orion installations use HTTPS, and therefore all Orion plug-ins must now also be served over HTTPS or they will be blocked by user browsers. If you are currently hosting a public Orion plug-in you must ensure that it is provided over HTTPS, or Orion installations will no longer be able to install or use it.
</body>
</html>