Shortcut | Description |
---|---|
Shift+Command+N |
File / New / Scratch File |
Ctrl+Alt+N |
New in This Directory… Create new class, interface, file or directory |
Shortcut | Description |
---|---|
Shift+Command+V |
Edit / Paste from History.. |
Command+Backspace |
Delete Line |
Ctrl+G |
Edit / Find / Add Selection for Next Occurrence Set multiple cursors by adding the next occurrence of the current word to the selection. |
Ctrl+Command+G |
Edit / Find / Select All Occurrences Set multiple cursors by adding all occurrences of the current word to the selection. |
Alt+Shift+Button1 |
Add or Remove Caret Set multiple cursors in the current file to edit multiple lines of code simultaneously. |
Edit / Find / Search Structurally… |
|
Alt+F7 |
Edit / Find / Find Usages |
Alt+Command+F7 |
Edit / Find / Show Usages |
Shift+Command+F7 |
Edit / Find / Highlight Usages in File |
Alt+↑ |
Edit / Extend Selection |
Alt+↓ |
Edit / Shrink Selection |
Shift+Command+Enter |
Edit / Complete Current Statement |
Command+D |
Edit / Duplicate Line |
Shortcut | Description |
---|---|
Command+1 |
View / Tool Windows / Project |
Command+7 |
View / Tool Windows / Structure |
Command+9 |
View / Tool Windows / Version Control |
Alt+F12 |
View / Tool Windows / Terminal |
Command+Command |
|
Alt+Space |
View / Quick Definition |
F1 |
View / Quick Documentation |
Command+P |
View / Parameter Info |
Ctrl+Shift+P |
View / Type Info |
Shift+Command+P |
View / Implicit Parameters |
Command+↓ |
View / Jump to Source Depending on the context:
|
Command+E |
View / Recent Files |
Shift+Command+E |
View / Recently Changed Files |
Ctrl+` |
View / Quick Switch Scheme… |
Shortcut | Description |
---|---|
Command+O |
Navigate / Class… |
Shift+Command+O |
Navigate / File… |
Alt+Command+O |
Navigate / Symbol… |
Shift+Shift |
Search Everywhere |
Command+[ |
Navigate / Back Undo last navigation operation. |
Command+] |
Navigate / Forward Redo last undone navigation operation. |
Alt+F1 |
Navigate / Select In… |
Command+↑ |
Navigate / Jump to Navigation Bar |
Command+B |
Navigate / GoTo Navigate to the declaration of the symbol at caret |
Alt+Command+B |
Navigate / Implementation(s) |
Shift+Command+B |
Navigate / Type Declaration Navigate to the declaration of the symbol’s type at caret |
Command+U |
Navigate / Super Method |
Shift+Command+T |
Navigate / Test |
Command+F12 |
Navigate / File Structure Popup structure of the current file for quick navigation |
Ctrl+H |
Navigate / Type Hierarchy |
Shift+Command+H |
Navigate / Method Hierarchy Browse method hierarchy for the selected method |
Ctrl+Alt+H |
Navigate / Call Hierarchy |
Ctrl+Q |
Navigate / Implicit Conversion |
F2 |
Navigate / Next Highlighted Error |
Shift+F2 |
Navigate / Previous Highlighted Error |
Shortcut | Description |
---|---|
Command+N |
Code / Generate… Depending on the context:
|
Alt+Command+T |
Code / Surround With… |
Ctrl+Space |
Code / Completion / Basic |
Ctrl+Shift+Space |
Code / Completion / SmartType |
Alt+/ |
Code / Completion / Cyclic Expand Word |
Command+J |
Code / Insert Live Template… |
Alt+Command+J |
Code / Surround With Live Template… |
Alt+Command+L |
Code / Reformat Code |
Ctrl+Alt+I |
Code / Auto-Indent Lines Indent current line or selected block according to the code style settings. |
Alt+Shift+↑ |
Code / Move Line Up |
Alt+Shift+↓ |
Code / Move Line Down |
Shortcut | Description |
---|---|
Analyze / Inspect Code… |
|
Analyze / Code Cleanup… Run cleanup inspections and apply quick fixes. |
|
Alt+Shift+Command+I |
Analyze / Run Inspection by Name |
Analyze / Analyze Dependency Matrix… |
|
Analyze / Analyze Data Flow to Here |
Shortcut | Description |
---|---|
Ctrl+R |
Run / Run |
Ctrl+D |
Run / Debug |
Ctrl+Alt+R |
Run / Run… |
Ctrl+Alt+D |
Run / Debug… |
Command+F2 |
Run / Stop |
F8 |
Run / Step Over |
F7 |
Run / Step Into |
Alt+Command+R |
Run / Resume Program |
Alt+F8 |
Run / Evaluate Expression… |
Command+F8 |
Run / Toggle Line Breakpoint |
Ctrl+Shift+D |
Debug context configuration |
Shortcut | Description |
---|---|
Ctrl+V |
VCS / VCS Operations Popup… |
Command+K |
VCS / Commit… |
Command+D |
Version Control Systems / Show Diff |
Shortcut | Description |
---|---|
Shift+Command+F12 |
Window / Active Tool Window / Hide All Tool Windows or Restore Windows |
Shift+Command+→ |
Window / Active Tool Window / Resize / Strecth to Right |
Shift+Command+← |
Window / Active Tool Window / Resize / Strecth to Left |