Orion 0.3 M1 – New and Noteworthy

Between weddings, road trips, and puttering around at the cottage, the Orion team has scraped together a respectable list of new features for their latest milestone. Here are some of the more noteworthy things available in milestone build M1 (August 12, 2011) which is now available for download.

Editor find and replace

The Orion code editor now supports find and replace within a file. Press Ctrl+F to open the Find and Replace bar. Use the arrow buttons to scroll through matches, and use the Replace and Replace All buttons to replace matches.

When Replace All is selected, the status area at the top of the page will indicate how many matches were replaced:

From the Options menu you can change find and replace options such as case-sensitive search, regular expression search, and search wrapping:

Content assist linked mode

The Orion content assist infrastructure has added support for linked mode during content assist. This mode is entered when the user selects a completion that requires variables or parameters to be filled in by the end user:

The fields can be navigated via the Tab key, and the completion is finished by pressing Enter:

You can see linked mode in action by trying out the Orion PHP Editor by Karol Gusak. Thanks to Karol for his work on implementing this feature in Orion.

Associate OpenID accounts with your Orion profile

You can now add and remove OpenID accounts on your Orion profile page. Adding an OpenID account will enable you to log into Orion via that OpenID account. Don’t forget to save your profile after making changes.

Gravatar integration

Gravatar integration is now available in Orion. This is currently used in the Git commit details pane, where the gravatar image corresponding to the committer email address is now displayed. To enable this feature, ensure your committer email is associated with a Gravatar profile.

Plug-ins can now provide link scanners that detect potential hyperlinks in a block of text and provide the corresponding URL. See the service documentation for more details.

Bugzilla plug-in

A very basic bugzilla plug-in for Orion is now available. Currently this plug-in only contributes a link scanner to convert text of the form bug XYZ into hyperlinks to the eclipse.org bugzilla system. These links are seen in commit messages in the Git commit details pane. Install the bugzilla plugin by pasting the following URL on the Orion Plugins page: http://mamacdon.github.com/0.3/plugins/bugzilla/plugin.html.

Git cherry pick

Support for Git cherry-pick has been added in Orion. This allows you to quickly adopt a commit from another branch into your current local branch. To cherry-pick a change, do the following:

  1. Go to the Repositories page in Orion
  2. Expand the repository to pick from
  3. Expand Remotes, and expand the particular remote you want to pick from
  4. Expand the branch you want to pick from
  5. Click Show Git Log in the Actions column
  6. Locate the commit you want, and click Cherry-Pick in the Actions column.

Branch information in Git log

The Git Log page now displays the names of all branches corresponding to commits in the log. Note that branches in Git are associated only with the most recent commit that occurred in that branch.

Git rebase

Support for Git Rebase has been added to Orion’s Git integration. This allows you to quickly adopt any commits made on the remote branch after your local branch point. Rebase is found in the Actions column next to a remote branch in the Repositories page.

Git push to any remote branch

Previously a new local branch could only be pushed to origin with the remote branch having the same name as the local branch. You can now select a different remote and branch to push a new local branch to. A dialog is now shown when clicking Push All next to a new local branch on the Repositories page, allowing you to select the remote and branch to push to.

Set author details on Git commit

When committing to Git in Orion, you can now set different author and committer details on each commit. This makes it easier to properly track author information for contributions accepted from the community. Simply click Change committer or author on the Git Status page to specify this information.

Delete remote branches

Remote Git branches can now be deleted from the Repositories page.

This entry was posted in New & Noteworthy. Bookmark the permalink.