Skip to content

↑↓ moveEnter openEsc close

IntelliJ keyboard shortcuts for Mac

IntelliJ 2025.3 · 61 shortcuts · checked Nov 2026 · Source: JetBrains docs

61 default IntelliJ shortcuts on Mac, grouped by task.

61 shortcuts
Keys:
ActionKeys
Search EverywhereShift,Shift
Find an actionShiftCmdA
Go to a classCmdO
Go to a fileShiftCmdO
Go to a symbolOptionCmdO
Recent filesCmdE
Go to a lineCmdL
File structureCmdF12
Go to declarationCmdB
Go to implementationOptionCmdB
Go to the super methodCmdU
Find usagesOptionF7

Editing

22 shortcuts
ActionKeys
Basic code completionCtrlSpace
Smart code completionCtrlShiftSpace
Show intention actions and quick fixesOptionEnter
Parameter infoCmdP
Quick documentationF1
Generate code (getters, constructors)CmdN
Surround withOptionCmdT
Comment with line commentCmd/
Comment with block commentOptionCmd/
Reformat codeOptionCmdL
Optimize importsCtrlOptionO
Duplicate the line or selectionCmdD
Delete the lineCmdBackspace
Move the line upOptionShift↑
Move the line downOptionShift↓
Move the statement upShiftCmd↑
Move the statement downShiftCmd↓
Extend the selectionOption↑
Shrink the selectionOption↓
Add the next occurrenceCtrlG
Select all occurrencesCtrlCmdG
Expand or collapse a blockCmd=orCmd-

Refactoring

5 shortcuts
ActionKeys
RenameShiftF6
Refactor This menuCtrlT
Extract variableOptionCmdV
Extract methodOptionCmdM
InlineOptionCmdN
5 shortcuts
ActionKeys
Find in the fileCmdF
Replace in the fileCmdR
Next occurrenceCmdG
Find in filesShiftCmdF
Replace in filesShiftCmdR

Run and debug

7 shortcuts
ActionKeys
RunCtrlR
DebugCtrlD
Toggle a breakpointCmdF8
Step overF8
Step intoF7
Step outShiftF8
Resume the programOptionCmdR
ActionKeys
Project tool windowCmd1
TerminalOptionF12
Hide all tool windowsShiftCmdF12
Close the editor tabCmdW
CommitCmdK
PushShiftCmdK
Update the project (pull)CmdT
SettingsCmd,

These are the default IntelliJ IDEA key bindings on Mac, from JetBrains's official list for version 2025.3. Shortcuts that exist only on another system are left out here; the all-systems view shows every binding side by side.

Other systems: IntelliJ shortcuts for Windows, IntelliJ shortcuts for Linux. Or print the IntelliJ cheat sheet.