Skip to content

↑↓ moveEnter openEsc close

IntelliJ keyboard shortcuts cheat sheet

Every default IntelliJ shortcut on one printable page. Choose your system, then print or save as PDF.

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
Default bindings for IntelliJ IDEA, version 2025.3, checked against JetBrains' documentation.hotkeypedia.com/intellij-idea/cheat-sheet/

Every default IntelliJ IDEA shortcut in version 2025.3, in the same groups as the full list. Pick a system, then print. The sheet is sized to fill a portrait A4 or Letter page (two pages for the longest apps); choose "Save as PDF" in the print dialog for a file. Rows showing a dash have no default binding on that system.