Predefined macOS keymap
IntelliJ IDEA's top keyboard shortcuts
Double Shift | |
Command Shift A | |
Command 1 | |
Command Shift F9 | |
Alt Enter | |
Command E | |
Alt F7 | |
Alt F1 | |
Command , | |
Command N | |
Double Control | |
Control Alt D | |
Command Shift F8 | |
Alt Shift F5 | |
Control V | |
Control T | |
Command Alt L |
Build projects
Command F9 | |
Command Shift F9 |
Basic editing
Cut | Command X |
Copy | Command C |
Paste | Command V |
Paste as Plain Text | Command Alt Shift V |
Paste from History... | Command Shift V |
Copy Paths | Command Shift C |
Copy Reference | Command Alt Shift C |
Command S | |
Command Z | |
Command Shift Z | |
Tab | |
Shift Tab | |
Control Alt I | |
Start New Line | Shift Enter |
Start New Line Before Current | Command Alt Enter |
Delete Line | Command Backspace |
Join Lines | Control Shift J |
Duplicate Line or Selection | Command D |
Toggle Case | Command Shift U |
Command Shift N | |
Open Source in New Window | Shift F4 |
Caret navigation
Move Caret to Previous Word | Alt ArrowLeft |
Move Caret to Next Word | Alt ArrowRight |
Move Caret to Line Start | Home |
Move Caret to Line End | End |
Move Caret to Matching Brace | Control M |
Move Caret to Code Block Start | Command Alt [ |
Move Caret to Code Block End | Command Alt ] |
Control Shift ArrowDown | |
Control Shift ArrowUp | |
Move Caret to Page Top | Command PageUp |
Move Caret to Page Bottom | Command ArrowDown |
Page Up | PageUp |
Page Down | ArrowDown |
Move Caret to Text Start | Command Home |
Move Caret to Text End | Command End |
Select text
Select All | Command A |
Left with Selection | Shift ArrowLeft |
Right with Selection | Shift ArrowRight |
Move Caret to Previous Word with Selection | Alt Shift ArrowLeft |
Move Caret to Next Word with Selection | Alt Shift ArrowRight |
Move Caret to Line Start with Selection | Shift Home |
Move Caret to Line End with Selection | Shift End |
Up with Selection | Shift ArrowUp |
Down with Selection | Shift ArrowDown |
Move Caret to Code Block Start with Selection | Command Alt Shift [ |
Move Caret to Code Block End with Selection | Command Alt Shift ] |
Move Caret to Page Top with Selection | Command Shift PageUp |
Move Caret to Page Bottom with Selection | Command Shift ArrowDown |
Page Up with Selection | Shift PageUp |
Page Down with Selection | Shift ArrowDown |
Move Caret to Text Start with Selection | Command Shift Home |
Move Caret to Text End with Selection | Command Shift End |
Extend Selection | Alt ArrowUp |
Shrink Selection | Alt ArrowDown |
Code folding
Expand | Command |
Collapse | NumPad-NumPad-- |
Expand Recursively | Command Alt |
Collapse Recursively | NumPad-NumPad-- |
Expand All | Command Shift |
Collapse All | NumPad-NumPad-- |
Fold Selection | Command . |
Multiple carets and selection ranges
Alt Shift LeftClick | |
Command Shift 8 | |
Double Control + Up | |
Double Control + Down | |
Alt Shift G | |
Control G | |
Command Control G | |
Control Shift G | |
Alt Shift MiddleClick | |
Alt LeftClick | |
Command Alt Shift LeftClick |
Coding assistance
Alt Enter | |
Control Space | |
Control Shift Space | |
Control Alt Space | |
Command Shift Enter | |
Command Alt L | |
Command P | |
F1 | |
Move Statement Up | Command Shift ArrowUp |
Move Statement Down | Command Shift ArrowDown |
Move Element Left | Command Alt Shift ArrowLeft |
Move Statement Right | Command Alt Shift ArrowRight |
Move Line Up | Alt Shift ArrowUp |
Move Line Down | Alt Shift ArrowDown |
Comment with Line Comment | Command / |
Comment with Block Comment | Command Alt / |
Command Alt T | |
Command N |
Context navigation
Control Shift ArrowDown | |
Control Shift ArrowUp | |
Command L | |
Control Tab | |
Alt F1 | |
Command E | |
Command Shift Backspace | |
Command [ | |
Command ] | |
Command Shift ] | |
Command Shift [ | |
F3 | |
Control+Shift | |
Alt F3 | |
Command F3 | |
Control | |
Command Alt F3 | |
Command 2 | |
Command 7 | |
Command 3 | |
Next Occurrence | Command Alt ArrowDown |
Previous Occurrence | Command Alt ArrowUp |
Find everything
Double Shift | |
Command F | |
Command G | |
Command Shift G | |
Command R | |
Command Shift F | |
Command Shift R | |
Next Occurrence of the Word at Caret | |
Command Shift O | |
Command F12 | |
Command Alt O | |
Command Shift A |
Navigate from symbols
Alt F7 | |
Command B | |
Command Shift B | |
Command Alt F7 | |
Command U | |
Command Alt B | |
Command Shift T | |
Command Shift F7 |
Code analysis
Alt Enter | |
Command F1 | |
F2 | |
Shift F2 | |
Command Alt Shift I | |
Command 6 |
Run and debug
Double Control | |
Control R | |
Control Alt R | |
Control D | |
Control Alt D | |
Alt Shift F5 | |
Command F2 | |
Command Alt R | |
Stop Background Processes... | Command Shift F2 |
F8 | |
Alt Shift F8 | |
F7 | |
Shift F7 | |
Alt Shift F7 | |
Shift F8 | |
Alt F9 | |
Command Alt F9 | |
Alt F10 | |
Alt F8 | |
Command Alt F8 | |
Command F8 | |
Command Alt Shift F8 | |
Command Shift F8 | |
Command Shift F8 | |
Command 4 | |
Command 5 | |
Command 8 |
Refactorings
Control T | |
Shift F6 | |
Command F6 | |
Command Alt N | |
F6 | |
Command Alt M | |
Introduce Field... | Command Alt F |
Introduce Parameter... | Command Alt P |
Command Alt V | |
Command Delete |
Global VCS actions
Control V | |
Command K | |
Command T | |
Command Alt Z | |
Command Shift K | |
Control Alt Shift ArrowDown | |
Control Alt Shift ArrowUp | |
Command 9 | |
Command 0 |
Differences viewer
Command D | |
Command D | |
F7 | |
Shift F7 | |
Command Control ArrowRight | |
Command Control ArrowLeft | |
Control Shift Tab | |
Command Shift D |
Tool windows
Shift Escape | |
Command Shift F12 | |
F12 | |
Control Alt ArrowLeft | |
Control Alt ArrowRight | |
Control Alt ArrowUp | |
Control Alt ArrowDown | |
Command 1 | |
Command 2 | |
Command 3 | |
Command 4 | |
Command 5 | |
Command 6 | |
Command 7 | |
Command 8 | |
Command 9 | |
Command 0 | |
Show Terminal window | Alt F12 |