IntelliJ IDEA 2021.2 Help

Keyboard Shortcuts: Windows Keymap

IntelliJ IDEA's top keyboard shortcuts

Search EverywhereDouble Shift
Find Action...Ctrl+Shift+A
Show Intention ActionsAlt+Enter
Recent FilesCtrl+E
Find UsagesAlt+F7
Select In...Alt+F1
Settings...Ctrl+Alt+S
Generate...Alt+Insert
RebuildCtrl+Shift+F9
Run AnythingDouble Ctrl
Debug...Alt+Shift+F9
View Breakpoints...Ctrl+Shift+F8
Attach to Process...Ctrl+Alt+F5
VCS Operations Popup...Alt+`
Refactor This...Ctrl+Alt+Shift+T
Reformat CodeCtrl+Alt+L

Basic editing

CutCtrl+X
CopyCtrl+C
PasteCtrl+V
Paste as Plain TextCtrl+Alt+Shift+V
Paste from History...Ctrl+Shift+V
Duplicate Line or SelectionCtrl+D
Copy PathsCtrl+Shift+C
Copy ReferenceCtrl+Alt+Shift+C
Save AllCtrl+S
UndoCtrl+Z
RedoCtrl+Shift+Z
Indent SelectionTab
Unindent Line or SelectionShift+Tab
Start New LineShift+Enter
Start New Line Before CurrentCtrl+Alt+Enter
Delete LineCtrl+Y
Toggle CaseCtrl+Shift+U
Scratch FileCtrl+Alt+Shift+Insert
Open source in new windowShift+F4

Caret navigation

Move Caret to Previous WordCtrl+Left
Move Caret to Next WordCtrl+Right
Move Caret to Line StartHome
Move Caret to Line EndEnd
Move Caret to Matching BraceCtrl+Shift+M
Move Caret to Code Block StartCtrl+[
Move Caret to Code Block EndCtrl+]
Next MethodAlt+Down
Previous MethodAlt+Up
Move Caret to Page TopCtrl+Page Up
Move Caret to Page BottomCtrl+Page Down
Page UpPage Up
Page DownPage Down
Move Caret to Text StartCtrl+Home
Move Caret to Text EndCtrl+End

Select text

Select AllCtrl+A
Left with SelectionShift+Left
Right with SelectionShift+Right
Move Caret to Previous Word with SelectionCtrl+Shift+Left
Move Caret to Next Word with SelectionCtrl+Shift+Right
Move Caret to Line Start with SelectionShift+Home
Move Caret to Line End with SelectionShift+End
Up with SelectionShift+Up
Down with SelectionShift+Down
Move Caret to Code Block Start with SelectionCtrl+Shift+[
Move Caret to Code Block End with SelectionCtrl+Shift+]
Move Caret to Page Top with SelectionCtrl+Shift+Page Up
Move Caret to Page Bottom with SelectionCtrl+Shift+Page Down
Page Up with SelectionShift+Page Up
Page Down with SelectionShift+Page Down
Move Caret to Text Start with SelectionCtrl+Shift+Home
Move Caret to Text End with SelectionCtrl+Shift+End
Extend SelectionCtrl+W
Shrink SelectionCtrl+Shift+W

Multiple carets and selection ranges

Coding assistance

Show Intention ActionsAlt+Enter
Basic CompletionCtrl+Space
Type-Matching CompletionCtrl+Shift+Space
Second Basic CompletionCtrl+Alt+Space
Complete Current StatementCtrl+Shift+Enter
Reformat CodeCtrl+Alt+L
Parameter InfoCtrl+P
Quick DocumentationCtrl+Q
Move Statement UpCtrl+Shift+Up
Move Statement DownCtrl+Shift+Down
Move Element LeftCtrl+Alt+Shift+Left
Move Statement RightCtrl+Alt+Shift+Right
Move Line UpAlt+Shift+Up
Move Line DownAlt+Shift+Down
Comment with Line CommentCtrl+/
Comment with Block CommentCtrl+Shift+/
Generate...Alt+Insert

Context navigation

Find everything

Search EverywhereDouble Shift
Find...Ctrl+F
Find Next / Move to Next OccurrenceF3
Find Previous / Move to Previous OccurrenceShift+F3
Replace...Ctrl+R
Find in Files...Ctrl+Shift+F
Replace in Files...Ctrl+Shift+R
Next Occurrence of the Word at CaretCtrl+F3
Go to File...Ctrl+Shift+N
File StructureCtrl+F12
Go to Symbol...Ctrl+Alt+Shift+N
Find Action...Ctrl+Shift+A

Code analysis

Show Intention ActionsAlt+Enter
Next Highlighted ErrorF2
Previous Highlighted ErrorShift+F2
Run Inspection by Name...Ctrl+Alt+Shift+I
Show Problems windowAlt+6

Build, Run, Debug

Build ProjectCtrl+F9
RebuildCtrl+Shift+F9
Run AnythingDouble Ctrl
Run context configurationCtrl+Shift+F10
Run...Alt+Shift+F10
Debug context configurationShift+F9
Debug...Alt+Shift+F9
Attach to Process...Ctrl+Alt+F5
StopCtrl+F2
Resume ProgramF9
Stop Background Processes...Ctrl+Shift+F2
Step OverF8
Force Step OverAlt+Shift+F8
Step IntoF7
Smart Step IntoShift+F7
Force Step IntoAlt+Shift+F7
Step OutShift+F8
Run To CursorAlt+F9
Force Run To CursorCtrl+Alt+F9
Show Execution PointAlt+F10
Evaluate Expression...Alt+F8
Quick Evaluate ExpressionCtrl+Alt+F8
Toggle Line BreakpointCtrl+F8
Toggle Temporary Line BreakpointCtrl+Alt+Shift+F8
View Breakpoints...Ctrl+Shift+F8
Edit BreakpointCtrl+Shift+F8
Show Run windowAlt+4
Show Debug windowAlt+5
Show Services windowAlt+8

Refactorings

Refactor This...Ctrl+Alt+Shift+T
Rename...Shift+F6
Change Signature...Ctrl+F6
Inline...Ctrl+Alt+N
Move...F6
Extract Method...Ctrl+Alt+M
Introduce Field...Ctrl+Alt+F
Introduce Parameter...Ctrl+Alt+P
Introduce Variable...Ctrl+Alt+V
Safe Delete...Alt+Delete

Global VCS actions

VCS Operations Popup...Alt+`
Commit...Ctrl+K
Update ProjectCtrl+T
RollbackCtrl+Alt+Z
Push...Ctrl+Shift+K
Next ChangeCtrl+Alt+Shift+Down
Previous ChangeCtrl+Alt+Shift+Up
Show Version Control windowAlt+9
Show Commit windowAlt+0

Tool Windows

Last modified: 08 March 2021