blob: 1a35bfc91fc66bc01cf839b823704566f7748245 [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 1.0 M2 News</title>
</head>
<body>
<h1>Orion 1.0 M2 - New and Noteworthy</h1>
<p>Here are some of the more noteworthy things available in milestone build M2
(September 24, 2012) which is now available for <a href="http://download.eclipse.org/eclipse/downloads/" target="_top">download</a>.
</p>
<table class="news" border="0" cellpadding="10" cellspacing="0" width="80%">
<tr id="editor-wrap">
<td class="title">Editor line wrapping</td>
<td class="content">
The Orion editor now supports automatic wrapping of long lines. This support is turned off in the Orion editing page by default, but can be enabled via Ctrl+Alt+W. Clients creating their own Orion text view can enable it using the <tt>wrapMode</tt> option.
<p><img src="images/10m2-editor-wrap.png" alt="Editor word wrapping"/></p>
</td>
</tr>
<tr id="content-assist">
<td class="title">New JavaScript content assist</td>
<td class="content">
The built in JavaScript content assist in Orion has been completely replaced. The new content assist uses simple code flow analysis to provide semantically accurate content assist. The functionality is largely the same as described in <a href="http://contraptionsforprogramming.blogspot.com/2012/02/better-javascript-content-assist-in.html">Andrew Eisenberg's blog post</a>, but with the following additions:
<p>The jslint <em>global</em> keyword is recognized, e.g.:</p>
<p><img src="images/10m2-content-assist1.png" border="1"/></p>
<p>The jslint <em>browser</em> option adds common browser content assist proposals, e.g.:</p>
<p><img src="images/10m2-content-assist2.png" border="1"/></p>
<p>Proposals are now ordered according to lexical scopes, where the inner scopes are placed higher than outer scopes and the global scope (if available) is last, e.g.:</p>
<p><img src="images/10m2-content-assist3.png" border="1"/></p>
<p>Below the inferred proposals are the non-inferred proposals, which are a list of all other known properties that cannot statically be determined to be in scope. Since Javascript is a dynamic language, type inferencing can never be completely accurate. Including non-inferred proposals is a way to come closer to completeness with content assist. Here is an example:</p>
<p><img src="images/10m2-content-assist4.png" border="1"/></p>
<p>You can see that the type of <code>val</code> is assumed to be <code>Object</code> even though its type cannot be determined statically. The <code>toString</code> and <code>toLocaleString</code> methods come from <code>Object</code>. Under that are the non-inferred identifiers that include all other properties that begin with <code>to</code>, including those defined explicitly in file and that are from built in objects.</p>
<p><strong>Important:</strong> If you have previously installed the third party esprima content assist plugin, you must uninstall it in order to avoid conflicts with new the plugin.</p>
</td>
</tr>
<tr id="search-suggest">
<td class="title">Search suggestions</td>
<td class="content">
When doing a global search, a list of suggestions now appears as you type. Currently this list shows matching recent searches, and saved searches.
<p><img src="images/10m2-search-suggest.png" alt="Search suggestions"/></p>
</td>
</tr>
<tr id="search-regex">
<td class="title">Regular expression search</td>
<td class="content">
You can now search for a regular expression in the global search bar. To enable it, open the menu in the search bar, and select <b>Regular expression</b>. The Orion search index does not support regular expressions, so this search performs a manual crawl of the file system on every search. This kind of search will typically take much longer to run.
<p><img src="images/10m2-search-regex.png" alt="Search regular expressions"/></p>
</td>
</tr>
<tr id="search-phrase">
<td class="title">Phrase search</td>
<td class="content">
The global search bar now supports searching for a multi-word phrase. Simply enter multiple words separated by whitespace, and the search will find documents with those words in the same sequence. When searching for a phrase, wildcards are not supported.
<p><img src="images/10m2-search-phrase.png" alt="Search for a phrase"/></p>
</td>
</tr>
<tr id="editor-themes">
<td class="title">Editor themes</td>
<td class="content">
A new editor theme settings page allows you to immediately preview changes to editor color settings. You can select from a list of available themes, or customize the appearance of individual elements (comments, keywords, etc).
<p><img src="images/10m2-editor-themes.png" alt="Editor theme page"/></p>
</td>
</tr>
<tr id="compare-resources">
<td class="title">Compare any two resources</td>
<td class="content">
You can now select any two files or directories in the <b>Navigator</b> page to compare them. Select the files to compare, and click <b>Compare with each other</b> in the <b>Actions</b> menu. Comparing two files will immediately open a compare editor showing the differences between the two files. Comparing two directories will show a list of added, removed, and changed files between the two directory trees. Click on changed files from this list to show differences in the compare editor. Differences are listed in alphabetical order by file, but can be changed to sort by folder from the <b>Options</b> menu.
<p><img src="images/10m2-compare-resources.png" alt="Compare two resources"/></p>
</td>
</tr>
<tr id="git-review">
<td class="title">Git review requests</td>
<td class="content">
You can now request a review from another user directly within Orion. From the <b>Git Log</b> page, click on the commit you want reviewed. Click <b>Ask for review</b>, and enter the name of the Orion user who you want a review from.
<p><img src="images/10m2-git-review1.png" alt="Git review page"/></p>
<p>This will send an email to the user, with a link to a review request page for that commit. From this page you can directly review the commit, or fetch/cherry-pick the commit into a local repository to edit and merge the changes.</p>
<p><img src="images/10m2-git-review2.png" alt="Git review page"/></p>
</td>
</tr>
<tr id="git-credentials">
<td class="title">Save git credentials</td>
<td class="content">
Orion can now save your ssh private keys in the local browser to avoid having to provide it every time you access a remote. This feature can be enabled from the <b>User Profile</b> section of the <b>Settings</b> page. Saved credentials can also be deleted at any time from the same settings page.
<p><img src="images/10m2-git-credentials1.png" alt="Save Git credentials"/></p>
<p>Once enabled, a <b>Don't prompt me again</b> option appears in the dialog where Git credentials are provided. This dialog also now supports loading a local ssh key file instead of pasting keys directly.</p>
<p><img src="images/10m2-git-credentials2.png" alt="Save Git credentials"/></p>
<p>Note that these keys are stored in your browser local storage, in a way that a person with physical access to your computer can read them (much like the typical ssh private key files themselves).</p>
</td>
</tr>
<tr id="import-http">
<td class="title">Import zip over HTTP</td>
<td class="content">
You can now import a remote zip file directly into your workspace and have it unzipped automatically. In the <b>Navigator</b> page, select the folder to import into, and click <b>Import from HTTP</b> from the <b>Actions</b> menu.
<p><img src="images/10m2-import-zip.png" alt="Import over HTTP"/></p>
<p><b>Pro Tip:</b> Because every folder in an Orion workspace can be served up in zip form, it is trivial to copy a directory tree from another Orion user. Select the folder to be copied, and open the <b>Actions</b> menu. Hover over <b>Export as zip</b> and copy the link to the clipboard. You can now send this link to a friend and they can import the zip directly into their workspace from yours, over HTTP.</p>
</td>
</tr>
<tr id="outline-tree">
<td class="title">Hierarchical outline</td>
<td class="content">
If you are using a hierarchical outliner with your editor (such as the JavaScript hierarchical outliner), you can now expand and collapse the editor entries.
<p><img src="images/10m2-outline-tree.png" alt="Hierarchical outline view"/></p>
</td>
</tr>
<tr id="plugin-content">
<td class="title">Plugins can add content creation buttons</td>
<td class="content">
It is now possible for plugins to define buttons that appear in the <b>Create New Content</b> section in the navigator. The most common way to add content to Orion is to define a zip file that you wish to be extracted to form the contents of a new Orion folder. See the Developer Guide for more detail about the <tt>orion.navigate.content</tt> service extension.
<p><img src="images/10m2-plugin-content.png" alt="Hierarchical outline view"/></p>
</td>
</tr>
<tr id="server-announcements">
<td class="title">Server announcements</td>
<td class="content">
The Administrator of the Orion server can now schedule server messages to appear on the login page for a predetermined date and duration. The title of the message appears below the splash screen area and clicking on <b>More info...</b> results in the display of a page of all the current server messages along with full descriptions.
<p><img src="images/10m2-server-announce.png" alt="Server announcements"/></p>
</td>
</tr>
<tr id="url-structure">
<td class="title">New URL structure</td>
<td class="content">
The Orion workspace server has streamlined the URLs used to serve up files. The name of the top level folder is now included in the URL, rather than an auto-generated hash. The user name now also appears in the URL of workspace files to ensure locations are unique.
</td>
</tr>
<tr id="user-list-pages">
<td class="title">Pagination of user list</td>
<td class="content">
The Administrator page for editing user information is now paginated. In the case where a server has a large number of users the paginated list returns much faster than retrieving the entire list. In addition to this change, the userlist is now sorted making it easier to locate one in particular.
<p><img src="images/10m2-user-pagination.png" alt="User list pagination"/></p>
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</table>
</body>
</html>