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