Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

IntelliJ IDEA keyboard shortcuts cheat sheet

JetBrains · 78 shortcuts

78 IntelliJ IDEA shortcuts grouped by task, with Windows and Mac keys side by side. Click any row for the full answer page.

Essentials

ActionWindowsMac
Search everywhereDouble ShiftDouble Shift
Find actionCtrl+Shift+ACmd+Shift+A
Show intention actions and quick-fixesAlt+EnterOption+Enter
Basic code completionCtrl+SpaceCtrl+Space
Smart code completionCtrl+Shift+SpaceCtrl+Shift+Space
Generate codeAlt+InsertCmd+N
Recent filesCtrl+ECmd+E
RenameShift+F6Shift+F6
Save allCtrl+SCmd+S
Reformat codeCtrl+Alt+LCmd+Option+L
Comment with line commentCtrl+/Cmd+/
Extend selectionCtrl+WOption+Up
Shrink selectionCtrl+Shift+WOption+Down
Run anythingDouble CtrlDouble Ctrl

Editing

ActionWindowsMac
Complete statementCtrl+Shift+EnterCmd+Shift+Enter
Parameter infoCtrl+PCmd+P
Quick documentation lookupCtrl+QCmd+J
Override methodsCtrl+OCtrl+O
Implement methodsCtrl+ICtrl+I
Surround withCtrl+Alt+TCmd+Option+T
Comment with block commentCtrl+Shift+/Cmd+Option+/
Optimize importsCtrl+Alt+OCtrl+Option+O
Auto-indent linesCtrl+Alt+ICtrl+Option+I
Duplicate lineCtrl+DCmd+D
Delete lineCtrl+YCmd+Delete
Smart line joinCtrl+Shift+JCtrl+Shift+J
Smart line splitCtrl+EnterCmd+Enter
Start new lineShift+EnterShift+Enter
Toggle caseCtrl+Shift+UCmd+Shift+U
Paste from recent buffersCtrl+Shift+VCmd+Shift+V
Delete to word endCtrl+DeleteOption+Delete
ActionWindowsMac
Go to classCtrl+NCmd+O
Go to fileCtrl+Shift+NCmd+Shift+O
Go to symbolCtrl+Alt+Shift+NCmd+Option+O
Go to lineCtrl+GCmd+L
Go to declarationCtrl+BCmd+B
Go to implementationsCtrl+Alt+BCmd+Option+B
Go to super methodCtrl+UCmd+U
Go to type declarationCtrl+Shift+BCtrl+Shift+B
Recent locationsCtrl+Shift+ECmd+Shift+E
Navigate backCtrl+Alt+LeftCmd+Option+Left
Navigate forwardCtrl+Alt+RightCmd+Option+Right
Go to last edit locationCtrl+Shift+BackspaceCmd+Shift+Delete
File structure popupCtrl+F12Cmd+F12
Type hierarchyCtrl+HCtrl+H
Call hierarchyCtrl+Alt+HCtrl+Option+H
Go to next errorF2F2
Go to previous errorShift+F2Shift+F2
Toggle bookmarkF11F3

Search and replace

ActionWindowsMac
FindCtrl+FCmd+F
Find nextF3Cmd+G
Find previousShift+F3Cmd+Shift+G
ReplaceCtrl+RCmd+R
Find in filesCtrl+Shift+FCmd+Shift+F
Replace in filesCtrl+Shift+RCmd+Shift+R
Find usagesAlt+F7Option+F7
Select next occurrenceAlt+JCtrl+G
Select all occurrencesCtrl+Alt+Shift+JCtrl+Cmd+G

Refactoring

ActionWindowsMac
Refactor thisCtrl+Alt+Shift+TCtrl+T
Change signatureCtrl+F6Cmd+F6
InlineCtrl+Alt+NCmd+Option+N
Extract methodCtrl+Alt+MCmd+Option+M
Extract variableCtrl+Alt+VCmd+Option+V
Extract fieldCtrl+Alt+FCmd+Option+F
Extract constantCtrl+Alt+CCmd+Option+C
Extract parameterCtrl+Alt+PCmd+Option+P
Safe deleteAlt+DeleteCmd+Delete

Run, debug and VCS

ActionWindowsMac
Build projectCtrl+F9Cmd+F9
RunShift+F10Ctrl+R
DebugShift+F9Ctrl+D
Step overF8F8
Step intoF7F7
Step outShift+F8Shift+F8
Resume programF9Cmd+Option+R
Toggle breakpointCtrl+F8Cmd+F8
Commit project to VCSCtrl+KCmd+K
Update project from VCSCtrl+TCmd+T
Push commitsCtrl+Shift+KCmd+Shift+K

More developer tools shortcuts

Ask your agent

Prompt

Make me a one-page IntelliJ IDEA cheat sheet from the 78 shortcuts at https://keyflowhub.com/shortcuts/intellij-idea, ordered by what I'm most likely to use, and point out any that clash with my current keybindings.

Paste into Claude Code and it will do the rest.

Questions

Windows: Ctrl + S. Mac: Cmd + S.

Windows: Ctrl + Shift + A. Mac: Cmd + Shift + A.

Sources: resources.jetbrains.com, www.jetbrains.com