Skip to content

IntelliJ IDEA

IDEA Windows & Linux Keymap

Editing {.row-span-5}

shortcutdescription
Ctrl SpaceBasic code completion
Ctrl Shift SpaceSmart code completion
Ctrl Shift EnterComplete statement
Ctrl PParameter info
Ctrl QQuick documentation lookup
Shift F1External Doc
Ctrl hoverBrief Info
Ctrl F1Error or warning at caret
Alt InsertGenerate code
Ctrl OOverride methods
Ctrl IImplement methods
Ctrl Alt TSurround with
Ctrl /Comment or uncomment line
Ctrl Shift /Comment or uncomment block
Ctrl WSelect successively increasing code blocks
Ctrl Shift WDecrease current selection to previous state
Alt QContext info
Alt EnterShow intention actions and quick-fixes
Ctrl Alt LReformat code
Ctrl Alt OOptimize imports
Ctrl Alt IAuto-indent line(s)
TabIndent selected lines
Shift TabUnindent selected lines
Ctrl XCut current line or selected block to clipboard
Ctrl CCopy current line or selected block to clipboard
Ctrl VPaste from clipboard
Ctrl Shift VPaste from recent buffers
Ctrl DDuplicate current line or selected block
Ctrl YDelete line at caret
Ctrl Shift JSmart line join
Ctrl EnterSmart line split
Shift EnterStart new line
Ctrl Shift UToggle case for word at caret or selected block
Ctrl Shift ] / [Select till code block end/start
Ctrl BackspaceDelete to word end/start
Ctrl + / -Expand/collapse code block
Ctrl Shift +Expand all
Ctrl Shift -Collapse all
Ctrl F4Close active editor tab

{.shortcuts}

shortcutdescription
Alt F7 / Ctrl F7Find usages/Find usages in file
Ctrl Shift F7Highlight usages in file
Ctrl Alt F7Show usages

{.shortcuts}

shortcutdescription
Ctrl NGo to class
Ctrl Shift NGo to file
Ctrl Alt Shift NGo to symbol
Alt Right / LeftGo to next / previous editor tab
F12Go back to previous tool window
EscGo to editor
Shift EscHide active or last active window
Ctrl Shift F4Close active run, messages…
Ctrl GGo to line
Ctrl ERecent files popup
Ctrl Alt Left / RightNavigate back / forward
Ctrl Shift BackspaceNavigate to last edit location
Alt F1Select current file or symbol in any view
Ctrl B / Ctrl ClickGo to declaration
Ctrl Alt BGo to implementation(s)
Ctrl Shift IOpen quick definition lookup
Ctrl Shift BGo to type declaration
Ctrl UGo to super-method / super-class
Alt Up / DownGo to previous / next method
Ctrl ]/[Move to code block end/start
Ctrl F12File structure popup
Ctrl HType hierarchy
Ctrl Shift HMethod hierarchy
Ctrl Alt HCall hierarchy
F2 / Shift F2Next/previous highlighted error
F4 / Ctrl EnterEdit source / View source
Alt HomeShow navigation bar
F11Toggle bookmark
Ctrl F11Toggle bookmark with mnemonic
Ctrl 0...9Go to numbered bookmark
Shift F11Show bookmarks

{.shortcuts}

Search/Replace

shortcutdescription
Double ShiftSearch everywhere
Ctrl FFind
F3 Shift F3Find next / Find previous
Ctrl RReplace
Ctrl Shift FFind in path
Ctrl Shift RReplace in path

{.shortcuts}

Live Templates

shortcutdescription
Ctrl Alt JSurround with Live Template
Ctrl JInsert Live Template
iterIteration according to Java SDK 1.5 style
instCheck object type with instanceof and downcast it
itcoIterate elements of java.util.Collection
ititIterate elements of java.util.Iterator
itliIterate elements of java.util.List
psfpublic static final
thrthrow new

{.shortcuts}

Refactoring

shortcutdescription
F5Copy
F6Move
Alt DeleteSafe Delete
Shift F6Rename
Ctrl F6Change Signature
Ctrl Alt NInline
Ctrl Alt MExtract Method
Ctrl Alt VExtract Variable
Ctrl Alt FExtract Field
Ctrl Alt CExtract Constant
Ctrl Alt PExtract Parameter

{.shortcuts}

Debugging

shortcutdescription
F8/F7Step over/Step into
Shift F7 / Shift F8Smart step into/Step out
Alt F9Run to cursor
Alt F8Evaluate expression
F9Resume program
Ctrl F8Toggle breakpoint
Ctrl Shift F8View breakpoints

{.shortcuts}

Compile and Run

shortcutdescription
Ctrl F9Make project
Ctrl Shift F9Compile selected file, package or module
Alt Shift F10 / F9Select configuration and run/and debug
Shift F10 / F9Run/Debug
Ctrl Shift F10Run context configuration from editor

{.shortcuts}

VCS/Local History

shortcutdescription
Ctrl KCommit project to VCS
Ctrl TUpdate from VCS
Alt Shift CView recent changes
Alt `VCS Operations Popup

{.shortcuts}

General

shortcutdescription
Alt 0...9Open corresponding tool window
Ctrl SSave all
Ctrl Alt YSynchronize
Ctrl Shift F12Toggle maximizing editor
Alt Shift FAdd to Favorites
Alt Shift IInspect current file
Ctrl `Quick switch current scheme
Ctrl Alt SOpen Settings dialog
Ctrl Alt Shift SOpen Project Structure dialog
Ctrl Shift AFind Action
Ctrl TabSwitch between tool and tabs

{.shortcuts}