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
Run AnythingDouble Ctrl
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

Build projects

Build ProjectCtrl+F9

Basic editing

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
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+/

Context navigation

Find everything

Search EverywhereDouble Shift
Find Next / Move to Next OccurrenceF3
Find Previous / Move to Previous OccurrenceShift+F3
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

Run and debug


Refactor This...Ctrl+Alt+Shift+T
Change Signature...Ctrl+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