IntelliJ IDEA keyboard shortcuts
Windows · version 2025.3 · 61 shortcuts
Hotkeypediahotkeypedia.com
Search and navigation
- Search EverywhereShift,ShiftShift,ShiftShift,Shift
- Find an actionShiftCmdACtrlShiftACtrlShiftA
- Go to a classCmdOCtrlNCtrlN
- Go to a fileShiftCmdOCtrlShiftNCtrlShiftN
- Go to a symbolOptionCmdOCtrlAltShiftNCtrlAltShiftN
- Recent filesCmdECtrlECtrlE
- Go to a lineCmdLCtrlGCtrlG
- File structureCmdF12CtrlF12CtrlF12
- Go to declarationCmdBCtrlBCtrlB
- Go to implementationOptionCmdBCtrlAltBCtrlAltB
- Go to the super methodCmdUCtrlUCtrlU
- Find usagesOptionF7AltF7AltF7
- Navigate backCmd[CtrlAlt←CtrlAlt←
- Navigate forwardCmd]CtrlAlt→CtrlAlt→
Editing
- Basic code completionCtrlSpaceCtrlSpaceCtrlSpace
- Smart code completionCtrlShiftSpaceCtrlShiftSpaceCtrlShiftSpace
- Show intention actions and quick fixesOptionEnterAltEnterAltEnter
- Parameter infoCmdPCtrlPCtrlP
- Quick documentationF1CtrlQCtrlQ
- Generate code (getters, constructors)CmdNAltInsertAltInsert
- Surround withOptionCmdTCtrlAltTCtrlAltT
- Comment with line commentCmd/Ctrl/Ctrl/
- Comment with block commentOptionCmd/CtrlShift/CtrlShift/
- Reformat codeOptionCmdLCtrlAltLCtrlAltL
- Optimize importsCtrlOptionOCtrlAltOCtrlAltO
- Duplicate the line or selectionCmdDCtrlDCtrlD
- Delete the lineCmdBackspaceCtrlYCtrlY
- Move the line upOptionShift↑AltShift↑AltShift↑
- Move the line downOptionShift↓AltShift↓AltShift↓
- Move the statement upShiftCmd↑CtrlShift↑CtrlShift↑
- Move the statement downShiftCmd↓CtrlShift↓CtrlShift↓
- Extend the selectionOption↑CtrlWCtrlW
- Shrink the selectionOption↓CtrlShiftWCtrlShiftW
- Add the next occurrenceCtrlGAltJAltJ
- Select all occurrencesCtrlCmdGCtrlAltShiftJCtrlAltShiftJ
- Expand or collapse a blockCmd=orCmd-Ctrl=orCtrl-Ctrl=orCtrl-
Refactoring
- RenameShiftF6ShiftF6ShiftF6
- Refactor This menuCtrlTCtrlAltShiftTCtrlAltShiftT
- Extract variableOptionCmdVCtrlAltVCtrlAltV
- Extract methodOptionCmdMCtrlAltMCtrlAltM
- InlineOptionCmdNCtrlAltNCtrlAltN
Search
- Find in the fileCmdFCtrlFCtrlF
- Replace in the fileCmdRCtrlRCtrlR
- Next occurrenceCmdGF3F3
- Find in filesShiftCmdFCtrlShiftFCtrlShiftF
- Replace in filesShiftCmdRCtrlShiftRCtrlShiftR
Run and debug
- RunCtrlRShiftF10ShiftF10
- DebugCtrlDShiftF9ShiftF9
- Toggle a breakpointCmdF8CtrlF8CtrlF8
- Step overF8F8F8
- Step intoF7F7F7
- Step outShiftF8ShiftF8ShiftF8
- Resume the programOptionCmdRF9F9
Tool windows and VCS
- Project tool windowCmd1Alt1Alt1
- TerminalOptionF12AltF12AltF12
- Hide all tool windowsShiftCmdF12CtrlShiftF12CtrlShiftF12
- Close the editor tabCmdWCtrlF4CtrlF4
- CommitCmdKCtrlKCtrlK
- PushShiftCmdKCtrlShiftKCtrlShiftK
- Update the project (pull)CmdTCtrlTCtrlT
- SettingsCmd,CtrlAltSCtrlAltS