General
| Command | Windows / Linux | Mac |
|---|
| Settings menu | Ctrl + , | ⌘ + , |
Debugging
| Command | Windows / Linux | Mac |
|---|
| Resume program | F6 | F6 |
| Step over | F8 | F8 |
| Step into / out | F7 / F9 | F7 / F9 |
| Step through to end of statement | F10 | F10 |
| Evaluate expression | Alt + F8 | ⌥ + F8 |
Search / Replace
| Command | Windows / Linux | Mac |
|---|
| Find | Ctrl + F | ⌘ + F |
| Find and replace | Ctrl + R | ⌘ + R |
| Find next | F3 | F3 |
| Find previous | Shift + F3 | ⇧ + F3 |
| Find content in project | Ctrl + Shift + F | ⌤ + ⇧ + F |
| Find file in project | Ctrl + Shift + N | ⌤ + ⇧ + N |
| Find and replace in project | Ctrl + Shift + R | ⌤ + ⇧ + R |
| Recent files | Ctrl + Alt + E , Ctrl + E | ⌤ + E |
| Recent edited files | Ctrl + Shift + E | ⌤ + ⇧ + E |
Selection
| Command | Windows / Linux | Mac |
|---|
| Select all | Ctrl + A | ⌘ + A |
| Select left | Shift + Left | ⇧ + ← |
| Select right | Shift + Right | ⇧ + → |
| Select word left | Ctrl + Shift + Left | ⌥ + ⇧ + ← |
| Select word right | Ctrl + Shift + Right | ⌥ + ⇧ + → |
| Select line start | Shift + Home | ⇧ + Home |
| Select line end | Shift + End | ⇧ + End |
| Select to line end | Alt + Shift + Right | ⌘+ ⇧ + → |
| Select to line start | Alt + Shift + Left | ⌘+ ⇧ + ← |
| Select up | Shift + Up | ⇧ + ↑ |
| Select down | Shift + Down | ⇧ + ↓ |
| Select page up | Shift + PageUp | ⇧ + PageUp |
| Select page down | Shift + PageDown | ⇧ + PageDown |
| Select to start | Ctrl + Shift + Home | ⌘ + ⇧ + ↑ , ⌘ + ⇧ + Home |
| Select to end | Ctrl + Shift + End | ⌘ + ⇧ + ↓ , ⌘ + ⇧ + End |
| Select to matching bracket | Ctrl + Shift + P | — |
Basic Editing
| Command | Windows / Linux | Mac |
|---|
| Undo | Ctrl + Z | ⌘ + Z |
| Redo | Ctrl + Shift + Z , Ctrl + Y | ⌘ + ⇧ + Z , ⌘ + Y |
| Transpose letters | Ctrl + T | ⌤ + T |
| Change to lower case | Ctrl + Shift + U | Ctrl + Shift + U |
| Change to upper case | Ctrl + U | Ctrl + U |
| Comment / uncomment with line comment | Ctrl + / | ⌘ + / |
| Comment / uncomment with block comment | Ctrl + Shift + / | ⌘ + ⇧ + / |
| Indent / un-indent selected lines | Tab / Shift + Tab | ⇥ / ⇧ + ⇥ |
| Reformat code | Ctrl + Alt + L | ⌤ + ⌥ + L |
| Cut selected lines to clipboard | Ctrl + X | ⌘ + X |
| Duplicate selection / line | Ctrl + D | ⌘ + D |
| Copy selected lines to clipboard | Ctrl + C | ⌘ + C |
| Paste from clipboard | Ctrl + V | ⌘ + V |
| Copy lines down | Alt + Shift + Down | ⌘+ ⌥ + ↓ |
| Copy lines up | Alt + Shift + Up | ⌘ + ⌥ + ↑ |
| Move lines down | Alt + Down | ⌥ + ↓ |
| Move lines up | Alt + Up | ⌥ + ↑ |
| Remove to line end | Alt + Delete | ⌤ + K |
| Remove to line start | Alt + Backspace | ⌘ + ⌫ |
| Remove word left | Ctrl + Backspace | ⌥ + ⌫ |
| Remove word right | Ctrl + Delete | ⌥ + ⌦ |
| Split line | — | Ctrl + O |
| Fold selection | Alt + L , Ctrl + F1 | ⌘+ F1 |
| Unfold | Alt + Shift + L , Ctrl + Shift + F1 | ⌘+ ⇧ + F1 |
| Fold all | Alt + 0 | ⌘ + ⌥ + 0 |
| Unfold all | Alt + Shift + 0 | ⌘ + ⌥ + ⇧ + 0 |
XML Editing
Auto suggestions with preview: Place the cursor on the xml element name, element attribute name or value and press ctrl + space + space will show a list of suggestions along with a preview popup. The preview popup shows either the documentation or declaration (if no documentation found) for the selected suggestion. Note the location of the cursor is important as the search string only includes characters to up the cursor.
| Command | Windows / Linux | Mac |
|---|
| Auto suggestion | Ctrl + Space | ⌤ + Space |
| Auto suggestion with a preview popup | Ctrl + Space + Space | ⌤ + Space + Space |
| Snippet search and insert | Ctrl + Alt + J | ⌘ + ⌥ + J |
| Include Form Fragment Wizard | Ctrl + Alt + J | ⌘ + ⌥ + I |
Basic Navigation
| Command | Windows / Linux | Mac |
|---|
| Last location | Ctrl + Alt + Left | ⌘ + ⌥ + ← |
| Next location | Ctrl + Alt + Right | ⌘ + ⌥ + → |
| Last change location in active editor | Ctrl + Alt + Up | ⌘ + ⌥ + ↑ |
| Next change location in active editor | Ctrl + Alt + Down | ⌘ + ⌥ + ↓ |
| Go to line | Ctrl + L | ⌘ + L |
File and Editor Management
| Command | Windows / Linux | Mac |
|---|
| Close file (place cursor on editor tab) | Shift + Click | ⇧ + Click |
| Reload file | Ctrl + Alt + O | ⌘ + ⌥ + O |
| Save file | Ctrl + Alt + S , Ctrl + S | ⌘ + ⌥ + S , ⌘ + S |
| Validate file | Shift + Alt + V | ⇧ + ⌥ + V |
| Last opened tab | Ctrl + Alt + PageUp , Ctrl + Tab | ⌤ + Tab |
XML Navigation
Usage navigation with preview: Place the cursor on the xml element name, element attribute name or value and press ctrl + space + space will show a list of suggestions along with a preview popup. The preview popup shows either the documentation or declaration (if no documentation found) for the selected suggestion. Note the location of the cursor is important as the search string only includes characters to up the cursor.
| Command | Windows / Linux | Mac |
|---|
| Declaration navigation | Ctrl + Click | ⌘ + Click |
| Declaration navigation with a preview popup | Ctrl + Click + Click | ⌘ + Click + Click |
| Usage navigation | Alt + Click | ⌥ + Click |
| Usage navigation with a preview popup | Alt + Click + Click | ⌥ + Click + Click |
Usage Search
Place cursor on the xml element name, element attribute name or value. It displays usages in Usages panel with a usage preview for the selected usage.
| Command | Windows / Linux | Mac |
|---|
| Find usages | Ctrl + Alt + U | ⌘ + ⌥ + U |
Git
| Command | Windows / Linux | Mac |
|---|
| Show diff | Shift + Alt + D | ⇧ + ⌥ + D |
| Compare with revision | Shift + Alt + C | ⇧ + ⌥ + C |
| Show / hide annotations | Shift + Alt + A | ⇧ + ⌥ + A |