Shortcuts
Shortcuts
General
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Attach to Process... | Ctrl+Alt+F5 | ⌥ ⇧ F5 | |
| Debug... | Alt+Shift+F9 | ^ ⌥ D | |
| Find Action... | Ctrl+Shift+A | ⌘ ⇧ A | |
| Find Usages | Alt+F7 | ⌥ F7 | |
| Generate... | Alt+Insert | ⌘ N | |
| Rebuild | Ctrl+Shift+F9 | ⌘ ⇧ F9 | |
| Recent Files | Ctrl+E | ⌘ E | |
| Refactor This... | Ctrl+Alt+Shift+T | ^ T | |
| Reformat Code | Ctrl+Alt+L | ⌘ ⌥ L | |
| Run Anything | Double Ctrl | Double ^ | |
| Search Everywhere | Double Shift | Double ⇧ | 🏅 |
| Select In... | Alt+F1 | ⌥ F1 | |
| Settings... | Ctrl+Alt+S | ⌘ Comma | 🏅 |
| Show Intention Actions | Alt+Enter | ⌥ ⏎ | |
| Show Project window | Alt+1 | ⌘ 1 | 🏅 |
| VCS Operations Popup... | Alt+` | ^ V | |
| View Breakpoints... | Ctrl+Shift+F8 | ⌘ ⇧ F8 |
Build Projects
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Build Project | Ctrl+F9 | ⌘ F9 | |
| Rebuild | Ctrl+Shift+F9 | ⌘ ⇧ F9 |
Basic Editing
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Auto-Indent Lines | Ctrl+Alt+I | ^ ⌥ I | |
| Copy | Ctrl+C | ⌘ C | |
| Copy Paths | Ctrl+Shift+C | ⌘ ⇧ C | |
| Copy Reference | Ctrl+Alt+Shift+C | ⌘ ⌥ ⇧ C | |
| Cut | Ctrl+X | ⌘ X | |
| Delete Line | Ctrl+Y | ⌘ ⌫ | 🏅 Alt+Backspace |
| Duplicate Line or Selection | Ctrl+D | ⌘ D | 🏅 |
| Indent Selection | Tab | ⇥ | |
| Join Lines | Ctrl+Shift+J | ^ ⇧ J | |
| Open Source in New Window | Shift+F4 | ⇧ F4 | |
| Paste | Ctrl+V | ⌘ V | |
| Paste as Plain Text | Ctrl+Alt+Shift+V | ⌘ ⌥ ⇧ V | |
| Paste from History... | Ctrl+Shift+V | ⌘ ⇧ V | |
| Redo | Ctrl+Shift+Z | ⌘ ⇧ Z | |
| Save All | Ctrl+S | ⌘ S | |
| Scratch File | Ctrl+Alt+Shift+Insert | ⌘ ⇧ N | |
| Start New Line | Shift+Enter | ⇧ ⏎ | 🏅 |
| Start New Line Before Current | Ctrl+Alt+Enter | ⌘ ⌥ ⏎ | 🏅 |
| Toggle Case | Ctrl+Shift+U | ⌘ ⇧ U | |
| Undo | Ctrl+Z | ⌘ Z | |
| Unindent Line or Selection | Shift+Tab | ⇧ ⇥ |
Caret Navigation
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Move Caret to Code Block End | Ctrl+] | ⌘ ⌥ ] | |
| Move Caret to Code Block Start | Ctrl+[ | ⌘ ⌥ [ | |
| Move Caret to Line End | End | End | |
| Move Caret to Line Start | Home | Home | |
| Move Caret to Matching Brace | Ctrl+Shift+M | ^ M | |
| Move Caret to Next Word | Ctrl+Right | ⌥ → | 🏅 |
| Move Caret to Page Bottom | Ctrl+Page Down | ⌘ Page ↓ | |
| Move Caret to Page Top | Ctrl+Page Up | ⌘ Page Up | |
| Move Caret to Previous Word | Ctrl+Left | ⌥ ← | 🏅 |
| Move Caret to Text End | Ctrl+End | ⌘ End | |
| Move Caret to Text Start | Ctrl+Home | ⌘ Home | |
| Next Method | Alt+Down | ^ ⇧ ↓ | |
| Page Down | Page Down | Page ↓ | |
| Page Up | Page Up | Page Up | |
| Previous Method | Alt+Up | ^ ⇧ Up |
Select Text
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Down with Selection | Shift+Down | ⇧ ↓ | |
| Extend Selection | Ctrl+W | ⌥ Up | 🏅 |
| Left with Selection | Shift+Left | ⇧ ← | |
| Move Caret to Code Block End with Selection | Ctrl+Shift+] | ⌘ ⌥ ⇧ ] | |
| Move Caret to Code Block Start with Selection | Ctrl+Shift+[ | ⌘ ⌥ ⇧ [ | |
| Move Caret to Line End with Selection | Shift+End | ⇧ End | |
| Move Caret to Line Start with Selection | Shift+Home | ⇧ Home | |
| Move Caret to Next Word with Selection | Ctrl+Shift+Right | ⌥ ⇧ → | |
| Move Caret to Page Bottom with Selection | Ctrl+Shift+Page Down | ⌘ ⇧ Page ↓ | |
| Move Caret to Page Top with Selection | Ctrl+Shift+Page Up | ⌘ ⇧ Page Up | |
| Move Caret to Previous Word with Selection | Ctrl+Shift+Left | ⌥ ⇧ ← | |
| Move Caret to Text End with Selection | Ctrl+Shift+End | ⌘ ⇧ End | |
| Move Caret to Text Start with Selection | Ctrl+Shift+Home | ⌘ ⇧ Home | |
| Page Down with Selection | Shift+Page Down | ⇧ Page ↓ | |
| Page Up with Selection | Shift+Page Up | ⇧ Page Up | |
| Right with Selection | Shift+Right | ⇧ → | |
| Select All | Ctrl+A | ⌘ A | |
| Shrink Selection | Ctrl+Shift+W | ⌥ ↓ | |
| Up with Selection | Shift+Up | ⇧ Up |
Code Folding
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Collapse | Ctrl+NumPad - | ⌘ NumPad - | |
| Collapse All | Ctrl+Shift+NumPad - | ⌘ ⇧ NumPad - | |
| Collapse Recursively | Ctrl+Alt+NumPad - | ⌘ ⌥ NumPad - | |
| Expand | Ctrl+NumPad + | ⌘ NumPad | |
| Expand All | Ctrl+Shift+NumPad + | ⌘ ⇧ NumPad | |
| Expand Recursively | Ctrl+Alt+NumPad + | ⌘ ⌥ NumPad | |
| Fold Selection | Ctrl+. | ⌘ . |
Multiple carets and selection ranges
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Add Caret to Each Line in Selection | Alt+Shift+G | ⌥ ⇧ G | |
| Add Selection for Next Occurrence | Alt+J | ^ G | |
| Add/Remove Caret | Alt+Shift+Click | ⌥ ⇧ Click | |
| Clone Caret Above | Double Ctrl + Up | Double ⌥ + Up | |
| Clone Caret Below | Double Ctrl + Down | Double ⌥ + Down | |
| Create Rectangular Selection | Alt+Shift+Middle-Click | ⌥ ⇧ Middle-Click | |
| Deselect Last Occurrence | Alt+Shift+J | ^ ⇧ G | |
| Drag to Create Multiple Rectangular Selections | Ctrl+Alt+Shift+Click | ⌘ ⌥ ⇧ Click | |
| Drag to Create Rectangular Selection | Alt+Click | ⌥ Click | |
| Select All Occurrences | Ctrl+Alt+Shift+J | ⌘ ^ G | |
| Toggle Column Selection Mode | Alt+Shift+Insert | ⌘ ⇧ 8 |
Coding Assistance
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Basic Completion | Ctrl+Space | ^ Space | |
| Comment with Block Comment | Ctrl+Shift+/ | ⌘ ⌥ / | |
| Comment with Line Comment | Ctrl+/ | ⌘ / | |
| Complete Current Statement | Ctrl+Shift+Enter | ⌘ ⇧ ⏎ | 🏅 |
| Generate... | Alt+Insert | ⌘ N | |
| Move Element Left | Ctrl+Alt+Shift+Left | ⌘ ⌥ ⇧ ← | |
| Move Line Down | Alt+Shift+Down | ⌥ ⇧ ↓ | 🏅 |
| Move Line Up | Alt+Shift+Up | ⌥ ⇧ Up | 🏅 |
| Move Statement Down | Ctrl+Shift+Down | ⌘ ⇧ ↓ | |
| Move Statement Right | Ctrl+Alt+Shift+Right | ⌘ ⌥ ⇧ → | |
| Move Statement Up | Ctrl+Shift+Up | ⌘ ⇧ Up | |
| Parameter Info | Ctrl+P | ⌘ P | |
| Quick Documentation | Ctrl+Q | F1 | |
| Reformat Code | Ctrl+Alt+L | ⌘ ⌥ L | 🏅 |
| Second Basic Completion | Ctrl+Alt+Space | ^ ⌥ Space | |
| Show Intention Actions | Alt+Enter | ⌥ ⏎ | |
| Surround With... | Ctrl+Alt+T | ⌘ ⌥ T | |
| Type-Matching Completion | Ctrl+Shift+Space | ^ ⇧ Space |
Context Navigation
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Back | Ctrl+Alt+Left | ⌘ [ | |
| Forward | Ctrl+Alt+Right | ⌘ ] | |
| Go to Bookmark with Digit | Ctrl+[digit] | ^+[digit] | |
| Go to Line/Column... | Ctrl+G | ⌘ L | |
| Go to Next Bookmark | N/A | ||
| Go to Previous Bookmark | N/A | ||
| Last Edit Location | Ctrl+Shift+Backspace | ⌘ ⇧ ⌫ | |
| Next Method | Alt+Down | ^ ⇧ ↓ | |
| Next Occurrence | Ctrl+Alt+Down | ⌘ ⌥ ↓ | |
| Previous Method | Alt+Up | ^ ⇧ Up | |
| Previous Occurrence | Ctrl+Alt+Up | ⌘ ⌥ Up | |
| Recent Files | Ctrl+E | ⌘ E | |
| Select In... | Alt+F1 | ⌥ F1 | |
| Select Next Tab | Alt+Right | ⌘ ⇧ ] | 🏅 |
| Select Previous Tab | Alt+Left | ⌘ ⇧ [ | 🏅 |
| Show All Bookmarks | Shift+F11 | ⌘ F3 | 🏅 |
| Show Bookmarks window | Alt+2 | ⌘ 2 | |
| Show Find window | Alt+3 | ⌘ 3 | |
| Show Mnemonic Bookmarks | Ctrl+Shift+F11 | ⌘ ⌥ F3 | |
| Show Structure window | Alt+7 | ⌘ 7 | |
| Switcher | Ctrl+Tab | ^ ⇥ | 🏅 |
| Toggle Anonymous Bookmark | F11 | F3 | 🏅 |
| Toggle Bookmark with Digit | Ctrl+Shift+[digit] | ^⇧+[digit] | |
| Toggle Bookmark with Mnemonic | Ctrl+F11 | ⌥ F3 |
Find Everything
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| File Structure | Ctrl+F12 | ⌘ F12 | 🏅 |
| Find Action... | Ctrl+Shift+A | ⌘ ⇧ A | |
| Find in Files... | Ctrl+Shift+F | ⌘ ⇧ F | 🏅 |
| Find Next / Move to Next Occurrence | F3 | ⌘ G | |
| Find Previous / Move to Previous Occurrence | Shift+F3 | ⌘ ⇧ G | |
| Find... | Ctrl+F | ⌘ F | |
| Go to File... | Ctrl+Shift+N | ⌘ ⇧ O | |
| Go to Symbol... | Ctrl+Alt+Shift+N | ⌘ ⌥ O | 🏅 |
| Next Occurrence of the Word at Caret | Ctrl+F3 | ||
| Replace in Files... | Ctrl+Shift+R | ⌘ ⇧ R | |
| Replace... | Ctrl+R | ⌘ R | |
| Search Everywhere | Double Shift | Double ⇧ |
Navigate from symbols
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Find Usages | Alt+F7 | ⌥ F7 | |
| Go to Declaration or Usages | Ctrl+B | ⌘ B | |
| Go to Implementation(s) | Ctrl+Alt+B | ⌘ ⌥ B | |
| Go to Super Method | Ctrl+U | ⌘ U | |
| Go to Test | Ctrl+Shift+T | ⌘ ⇧ T | |
| Go to Type Declaration | Ctrl+Shift+B | ⌘ ⇧ B | |
| Highlight Usages in File | Ctrl+Shift+F7 | ⌘ ⇧ F7 | |
| Show Usages | Ctrl+Alt+F7 | ⌘ ⌥ F7 |
Code Analysis
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Error Description | Ctrl+F1 | ⌘ F1 | |
| Next Highlighted Error | F2 | F2 | |
| Previous Highlighted Error | Shift+F2 | ⇧ F2 | |
| Run Inspection by Name... | Ctrl+Alt+Shift+I | ⌘ ⌥ ⇧ I | |
| Show Intention Actions Show Context Action | Alt+Enter | ⌥ ⏎ | 🏅 |
| Show Problems window | Alt+6 | ⌘ 6 | |
| Source Code Hierarchy | Ctrl+Alt+H | 🏅 |
Run & Debug
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Attach to Process... | Ctrl+Alt+F5 | ⌥ ⇧ F5 | |
| Debug context configuration | Shift+F9 | ^ D | |
| Debug... | Alt+Shift+F9 | ^ ⌥ D | |
| Edit Breakpoint | Ctrl+Shift+F8 | ⌘ ⇧ F8 | |
| Evaluate Expression... | Alt+F8 | ⌥ F8 | |
| Force Run To Cursor | Ctrl+Alt+F9 | ⌘ ⌥ F9 | |
| Force Step Into | Alt+Shift+F7 | ⌥ ⇧ F7 | |
| Force Step Over | Alt+Shift+F8 | ⌥ ⇧ F8 | |
| Quick Evaluate Expression | Ctrl+Alt+F8 | ⌘ ⌥ F8 | |
| Resume Program | F9 | ⌘ ⌥ R | |
| Run Anything | Double Ctrl | Double ^ | |
| Run context configuration | Shift+F10 | ^ R | |
| Run To Cursor | Alt+F9 | ⌥ F9 | |
| Run... | Alt+Shift+F10 | ^ ⌥ R | |
| Show Debug window | Alt+5 | ⌘ 5 | |
| Show Execution Point | Alt+F10 | ⌥ F10 | |
| Show Run window | Alt+4 | ⌘ 4 | |
| Show Services window | Alt+8 | ⌘ 8 | |
| Smart Step Into | Shift+F7 | ⇧ F7 | |
| Step Into | F7 | F7 | |
| Step Out | Shift+F8 | ⇧ F8 | |
| Step Over | F8 | F8 | |
| Stop | Ctrl+F2 | ⌘ F2 | |
| Stop Background Processes... | Ctrl+Shift+F2 | ⌘ ⇧ F2 | |
| Toggle Line Breakpoint | Ctrl+F8 | ⌘ F8 | |
| Toggle Temporary Line Breakpoint | Ctrl+Alt+Shift+F8 | ⌘ ⌥ ⇧ F8 | |
| View Breakpoints... | Ctrl+Shift+F8 | ⌘ ⇧ F8 |
Refactorings
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Change Signature... | Ctrl+F6 | ⌘ F6 | |
| Extract Method... | Ctrl+Alt+M | ⌘ ⌥ M | 🏅 |
| Inline... | Ctrl+Alt+N | ⌘ ⌥ N | 🏅 |
| Introduce Field... | Ctrl+Alt+F | ⌘ ⌥ F | |
| Introduce Parameter... | Ctrl+Alt+P | ⌘ ⌥ P | 🏅 |
| Introduce Variable... | Ctrl+Alt+V | ⌘ ⌥ V | 🏅 |
| Move... | F6 | F6 | |
| Refactor This... | Ctrl+Alt+Shift+T | ^ T | |
| Rename... | Shift+F6 | ⇧ F6 | |
| Safe Delete... | Alt+Delete | ⌘ ⌦ |
Global VCS Actions
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Commit... | Ctrl+K | ⌘ K | |
| Next Change | Ctrl+Alt+Shift+Down | ^ ⌥ ⇧ ↓ | |
| Previous Change | Ctrl+Alt+Shift+Up | ^ ⌥ ⇧ Up | |
| Push... | Ctrl+Shift+K | ⌘ ⇧ K | |
| Rollback | Ctrl+Alt+Z | ⌘ ⌥ Z | |
| Show Commit window | Alt+0 | ⌘ 0 | |
| Show Version Control window | Alt+9 | ⌘ 9 | |
| Update Project | Ctrl+T | ⌘ T | |
| VCS Operations Popup... | Alt+` | ^ V |
Differences Viewer
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Accept Left Side | Ctrl+Alt+R | ⌘ ^ → | |
| Accept Right Side | Ctrl+Alt+A | ⌘ ^ ← | |
| Compare Files | Ctrl+D | ⌘ D | |
| Next Difference | F7 | F7 | |
| Previous Difference | Shift+F7 | ⇧ F7 | |
| Select Opposite Diff Pane | Ctrl+Shift+Tab | ^ ⇧ ⇥ | |
| Show Diff | Ctrl+D | ⌘ D | |
| Show Diff Settings Popup... | Ctrl+Shift+D | ⌘ ⇧ D |
Tool Windows
Search:
| Description 🔼 | Windows & Linux | MacOs | MyShortcut |
|---|---|---|---|
| Focus on Editor | Esc | 🏅 | |
| Hide Active Tool Window | Shift+Escape | ⇧ ⎋ | |
| Hide All Tool Windows | Ctrl+Shift+F12 | ⌘ ⇧ F12 | |
| Jump to Last Tool Window | F12 | F12 | |
| Show Bookmarks window | Alt+2 | ⌘ 2 | |
| Show Commit window | Alt+0 | ⌘ 0 | |
| Show Debug window | Alt+5 | ⌘ 5 | |
| Show Find window | Alt+3 | ⌘ 3 | |
| Show Problems window | Alt+6 | ⌘ 6 | |
| Show Project window | Alt+1 | ⌘ 1 | |
| Show Run window | Alt+4 | ⌘ 4 | |
| Show Services window | Alt+8 | ⌘ 8 | |
| Show Structure window | Alt+7 | ⌘ 7 | |
| Show Terminal window | Alt+F12 | ⌥ F12 | |
| Show Version Control window | Alt+9 | ⌘ 9 | |
| Stretch to Bottom | Ctrl+Alt+Shift+Down | ^ ⌥ ↓ | |
| Stretch to Left | Ctrl+Alt+Shift+Left | ^ ⌥ ← | |
| Stretch to Right | Ctrl+Alt+Shift+Right | ^ ⌥ → | |
| Stretch to Top | Ctrl+Alt+Shift+Up | ^ ⌥ Up |