Difference between revisions of "Orion/Documentation/User Guide/Reference/Coding page"

From Eclipsepedia

Jump to: navigation, search
(Coding page)
Line 4: Line 4:
 
[[Image:Orion-editor-overview.png]]
 
[[Image:Orion-editor-overview.png]]
  
The editor supports many of the typical key bindings from the Eclipse editor. To find out what key bindings are available, type Ctrl+Shift+L.
+
The editor supports many of the typical key bindings from the Eclipse editor. To find out what key bindings are available, type Ctrl+Shift+?.
  
 
[[Image:Orion-editor-key-assist.png]]
 
[[Image:Orion-editor-key-assist.png]]

Revision as of 23:52, 27 February 2012

Coding page

Navigate to the Coding page by clicking any file in the Navigator page that has a corresponding Orion editor. This page is comprised mainly of an editor area, and a collapsible outline section on the left hand side. Click a function or field name in the outline to scroll the editor to that declaration. Error markers are shown in the gutter to the left of the line numbers, and a birds-eye view of errors is shown next to the scroll bar on the right. The name of the file being edited, and the current line and column information are shown in the title area at the top of the page.

Orion-editor-overview.png

The editor supports many of the typical key bindings from the Eclipse editor. To find out what key bindings are available, type Ctrl+Shift+?.

Orion-editor-key-assist.png

Basic content assist is currently supported in JavaScript and CSS files. Other file types may be supported depending on what plugins you have installed. Type Ctrl+Space to open content assist at the current cursor position in the editor.

Searching

There are several ways to perform searches in the editor:

  • Ctrl+F will open a dialog to search for occurrences of some text in the current editor
  • Ctrl+J will perform an incremental search as you type. A message in the title area will let you know you are in incremental find mode, and will turn red to indicate no matches were found.
  • Ctrl+H will search for occurrences of the currently selected text across all files. The search results will pop up in a new window, from which you can navigate to files containing the matches
  • Typing search terms in the search box in the upper right corner of the title area will search for the terms across all files, and display matches in the Search Results page.