Keyboard Shortcuts

Code Editor

Fire Water Description
^⌘-Left Alt-Left Navigate back to the previous view
^⌘-Right Alt-Right Navigate forward again, after navigating back
^⌘-Up Alt-Up Navigate up within the current jump bar level (previous file in same folder previous build message, etc.)
^⌘-Down Alt-Down Navigate down within the current jump bar level
⌥⌘-Right Alt-Shift-Right Show next message on the current line
⌥⌘-Left Alt-Shift-Left Show previous message on the current line
⌥⌘-Down Alt-Shift-Down Go to next message in the same file
⌥⌘-Up Alt-Shift-Up Go to previous message in the same fine
^⌥-Right Ctrl+Alt-Right Search forward for the selection or the token at the cursor
^⌥-Left Ctrl+Alt-Left Search backward for the selection or the token at the cursor
^⌥-Up Ctrl+Alt-Up Go up to the declaration of current member (Oxygene)
^⌥-Down Ctrl+Alt-Down Go down to the implementation of current member (Oxygene)
⌥-Left Ctrl-Left Move cursor one token to the left
⌥-Right Ctrl-Right Move cursor one token to the right
⌥-Up Move cursor to start of line, or up one line
⌥-Down Move cursor to end of line, or down one line
⌘-Left Home Move cursor one token to the start of text on the current line, then to the start of the line
⌘-Right End Move cursor to the end of the line
⌘-Up Ctrl-Home Move cursor to the start of the file
⌘-Down Ctrl-End Move 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
PageUp Move the cursor one page up
PageDown Move the cursor one page down
, Cmd-Space Ctrl-Space, Esc Show Code Competion
⇧⎋ Shift-Esc Show Code Competion error list or status
⌥-Delete Ctrl-Delete Delete until start of current token
⌥-Fn-Delete Ctrl-Backspace Delete until end of current token
⌘-Delete Ctrl-Shift-Delete Delete until start of line
⌘-Fn-Delete Ctrl-Shift-Backspace Delete until end of line
⌘], Tab Tab Indent selection (if any)
⌘[, Shift-Tab Shift-Tab Unindent selection (if any)
⌘/ Ctrl+Shift+/ Comment or Uncomment selection
⌘X Ctrl-X, Shift-Delete Cut selected text to clipboard
⌘C Ctrl-C Copy selected text to clipboard
⌥⌘C Ctrl-Alt-C Copy selected code with any error messages
⌘V Ctrl-V, Shift-Insert Paste text from clipboard
⌘A Ctrl-A Select the entire file
⌘D Ctrl-D Show definition for token at cursor
⌥⌘D Ctrl-Alt-D Go to definition for token at cursor
⌘E Ctrl-E Make the selection or the token at the cursor the active search term
⇧⌘E Ctrl-Shift-E Make the selection or the token at the cursor the active replace term
⌘F Ctrl-F Initiate the search pane, w/o changing the active search term
^⌥⌘F Ctrl-Alt-Shift-F Clear the active search term, close the search pane, if visible
⌘G Ctrl-G Find the next occurence of the search term in the current file
⇧⌘G Ctrl-Shift-G Find the previous occurence of the search term in the current file
⌥⌘G Find the next occurance of the search term in the current file and replace it
⌘L Ctrl-L Toggle long/short inline build messages
⌘P Ctrl-P Show parameters for method call at cursor
⌥⌘P Ctrl-Alt-P Show project picker (in shared projects)
⌘Z Ctrl-Z Undo
⇧⌘Z Redo
^C Ctrl+Shift+C Complete Class (Oxygene)
^I Reformat the current selection
^⇧I Reformat the entire file
^R Ctrl+Shift+R Refactor/Rename the current token
^T Switch around the two characters at the cursor
^Y Delete 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 Ctrl+Shift (Windows).

  • Message navigation between build messages within the current file is handled with the cursor keys and ⌥⌘* (Mac) or Alt (Windows).

  • Search navigation within the current file is handled with the cursor Right/Left keys and ^⌥ (Mac) or Ctrl+Alt (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