IntelliJ IDEA 2021.1 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

Build, Run, Debug

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

Tool Windows

Last modified: 08 March 2021