Keyboard Shortcuts

Code Editor

FireWaterDescription
^⌘-LeftAlt-LeftNavigate back to the previous view
^⌘-RightAlt-RightNavigate forward again, after navigating back
^⌘-UpAlt-UpNavigate up within the current jump bar level (previous file in same folder previous build message, etc.)
^⌘-DownAlt-DownNavigate down within the current jump bar level
⌥⌘-RightAlt-Shift-RightShow next message on the current line
⌥⌘-LeftAlt-Shift-LeftShow previous message on the current line
⌥⌘-DownAlt-Shift-DownGo to next message in the same file
⌥⌘-UpAlt-Shift-UpGo to previous message in the same fine
^⌥-RightAlt+Ctrl-RightSearch forward for the selection or the token at the cursor
^⌥-LeftAlt+Ctrl-LeftSearch backward for the selection or the token at the cursor
^⌥-UpAlt+Ctrl-UpGo up to the declaration of current member (Oxygene)
^⌥-DownAlt+Ctrl-DownGo down to the implementation of current member (Oxygene)
⌥-LeftCtrl-LeftMove cursor one token to the left
⌥-RightCtrl-RightMove cursor one token to the right
⌥-UpMove cursor to start of line, or up one line
⌥-DownMove cursor to end of line, or down one line
⌘-LeftHomeMove cursor one token to the start of text on the current line, then to the start of the line
⌘-RightEndMove cursor to the end of the line
⌘-UpCtrl-HomeMove cursor to the start of the file
⌘-DownCtrl-EndMove cursor to the end of the file
Fn-Left (Home)Scroll to the start of the file, w/o moving the cursor
Fn-Right (End)Scroll to the end of the file, w/o moving the cursor
Fn-Up (PageUp)Scroll up one page w/o moving the cursor
Fn-Down (PageDown)Scroll down one page w/o moving the cursor
PageUpMove the cursor one page up
PageDownMove the cursor one page down
⎋, Cmd-SpaceCtrl-Space, EscShow Code Competion
⇧⎋Shift-EscShow Code Competion error list or status
⌥-DeleteCtrl-DeleteDelete until start of current token
⌥-Fn-DeleteCtrl-BackspaceDelete until end of current token
⌘-DeleteCtrl-Shift-DeleteDelete until start of line
⌘-Fn-DeleteCtrl-Shift-BackspaceDelete until end of line
⌘], TabTabIndent selection (if any)
⌘[, Shift-TabShift-TabUnindent selection (if any)
⌘/Ctrl+Shift+/Comment or Uncomment selection
⌘XCtrl-X, Shift-DeleteCut selected text to clipboard
⌘CCtrl-CCopy selected text to clipboard
⌥⌘CCtrl-Alt-CCopy selected code with any error messages
⌘VCtrl-V, Shift-InsertPaste text from clipboard
⌘ACtrl-ASelect the entire file
⌘DCtrl-DShow definition for token at cursor
⌥⌘DCtrl-Alt-DGo to definition for token at cursor
⌘ECtrl-EMake the selection or the token at the cursor the active search term
⇧⌘ECtrl-Shift-EMake the selection or the token at the cursor the active replace term
⌘FCtrl-FInitiate the search pane, w/o changing the active search term
^⌥⌘FCtrl-Alt-Shift-FClear the active search term, close the search pane, if visible
⌘GCtrl-GFind the next occurrence of the search term in the current file
⇧⌘GCtrl-Shift-GFind the previous occurrence of the search term in the current file
⌥⌘GFind the next occurance of the search term in the current file and replace it
⌘LCtrl-LToggle long/short inline build messages
⌘PCtrl-PShow parameters for method call at cursor
⌥⌘PCtrl-Alt-PShow project picker (in shared projects)
⌘ZCtrl-ZUndo
⇧⌘ZRedo
^CCtrl+Shift+CComplete Class (Oxygene)
^IReformat the current selection
^⇧IReformat the entire file
^RCtrl+Shift+RRefactor/Rename the current token
^TSwitch around the two characters at the cursor
^YDelete the current line

Fire and Water provide several levels of navigating using cursor keys:

  • Cursor navigation within the current file follows the platform conventions, using the plain cursor keys, as well as combinations with ⌥ or ⌘ (Mac) or Ctrl (Windows), as well as Home/End/PageUp and PageDown keys (Fn+Cursor keys, on most Macs).
  • Global navigation in the IDE, between different files and other logical views is handled with the cursor keys and ^⌘ (Mac) or Alt (Windows).
  • Message navigation between build messages within the current file is handled with the cursor keys and ⌥⌘ (Mac) or Alt+Shift* (Windows).
  • Search navigation within the current file is handled with the cursor Right/Left keys and ^⌥ (Mac) or Alt+Ctrl (Windows). The Up and Down keys perform "Go to Declaration/Implementation" within Oxygene code files, with the same modifiers.

See Navigation for more details.

Notes

  • Several editor shortcuts work on "the selection, or the token at the cursor". If single-line selection is active, the selected text will be used; if no selection is active, the token underneath the current cursor position will be selected and used.
  • Commands with ^ (Mac) or Ctrl+Shift (Windows) often perform modifications, such as refactoring, reformatting, etc.
  • For Water, our goal is to achieve a good mixture of adhering to Windows keyboard standards while also retaining symmetry with Fire. For example, shortcuts with ⌘ in Fire will usually map to Ctrl in Water; ^ in Fire will map to Ctrl+Shift in Water. Basic cursor movement of course use the standard Windows keybinding and behaviour.

Legend

| - | - | - |
| ⇧ | Shift | Shift key |
| ^ | Ctrl | Control Key |
| ⌥ | Alt | Option or Alt key |
| ⌘ | - | Command (cmd) key, Mac only |
| -| Win | Windows Key, PC only |
| ⎋ | Esc | Escape key