IntelliJ IDEA Shortcuts
IntelliJ is an integrated development environment (IDE) for programming in various languages including Java, Kotlin, and Python. It provides a range of features such as code completion, debugging, version control integration, and plugins, making it a popular choice for developers.
Top Shortcuts
Search Everywhere
⇧
then⇧
Find Action...
⇧
⌘
A
Show Project window
⌘
1
Rebuild
⇧
⌘
F9
Show Intention Actions
⌥
⏎
Recent Files
⌘
E
Find Usages
⌥
F7
Select In...
⌥
F1
Settings...
⌘
,
Generate...
⌘
N
Run Anything
^
then^
Debug...
⌃
⌥
D
View Breakpoints...
⇧
⌘
F8
Attach to Process...
⌥
⇧
F5
VCS Operations Popup...
⌃
V
Refactor This...
⌃
T
Reformat Code
⌥
⌘
L
Build projects
Build Project
⌘
F9
Rebuild
⇧
⌘
F9
Basic editing
Cut
⌘
X
Copy
⌘
C
Paste
⌘
V
Paste as Plain Text
⌥
⇧
⌘
V
Paste from History...
⇧
⌘
V
Copy Paths
⇧
⌘
C
Copy Reference
⌥
⇧
⌘
C
Save All
⌘
S
Undo
⌘
Z
Redo
⇧
⌘
Z
Indent Selection
⇥
Unindent Line or Selection
⇧
⇥
Auto-Indent Lines
⌃
⌥
I
Start New Line
⇧
⏎
Start New Line Before Current
⌥
⌘
⏎
Delete Line
⌘
⌫
Join Lines
⌃
⇧
J
Duplicate Line or Selection
⌘
D
Toggle Case
⇧
⌘
U
Scratch File
⇧
⌘
N
Open Source in New Window
⇧
F4
Caret navigation
Move Caret to Previous Word
⌥
←
Move Caret to Next Word
⌥
→
Move Caret to Line Start
HOME
Move Caret to Line End
END
Move Caret to Matching Brace
⌃
M
Move Caret to Code Block Start
⌥
⌘
[
Move Caret to Code Block End
⌥
⌘
]
Next Method
⌃
⇧
↓
Previous Method
⌃
⇧
↑
Move Caret to Page Top
⌘
⇞
Move Caret to Page Bottom
⌘
⇟
Page Up
⇞
Page Down
⇟
Move Caret to Text Start
⌘
HOME
Move Caret to Text End
⌘
END
Select text
Select All
⌘
A
Left with Selection
⇧
←
Right with Selection
⇧
→
Move Caret to Previous Word with Selection
⌥
⇧
←
Move Caret to Next Word with Selection
⌥
⇧
→
Move Caret to Line Start with Selection
⇧
HOME
Move Caret to Line End with Selection
⇧
END
Up with Selection
⇧
↑
Down with Selection
⇧
↓
Move Caret to Code Block Start with Selection
⌥
⇧
⌘
[
Move Caret to Code Block End with Selection
⌥
⇧
⌘
]
Move Caret to Page Top with Selection
⇧
⌘
⇞
Move Caret to Page Bottom with Selection
⇧
⌘
⇟
Page Up with Selection
⇧
⇞
Page Down with Selection
⇧
⇟
Move Caret to Text Start with Selection
⇧
⌘
HOME
Move Caret to Text End with Selection
⇧
⌘
END
Extend Selection
⌥
↑
Shrink Selection
⌥
↓
Code folding
Expand
⌘
=
Collapse
⌘
_
Expand Recursively
⌥
⌘
=
Collapse Recursively
⌥
⌘
_
Expand All
⇧
⌘
=
Collapse All
⇧
⌘
_
Fold Selection
⌘
.
Multiple carets and selection ranges
Add/Remove Caret
⌥
⇧
CLICK
Toggle Column Selection Mode
⇧
⌘
8
Clone Caret Above
⌥
then⌥
Clone Caret Below
⌥
then⌥
Add Caret to Each Line in Selection
⌥
⇧
G
Add Selection for Next Occurrence
⌃
G
Select All Occurrences
⌃
⌘
G
Deselect Last Occurrence
⌃
⇧
G
Create Rectangular Selection
⌥
⇧
MIDDLE_CLICK
Drag to Create Rectangular Selection
⌥
CLICK
Drag to Create Multiple Rectangular Selections
⌥
⇧
⌘
CLICK
Coding assistance
Show Intention Actions
⌥
⏎
Basic Completion
⌃
␣
Type-Matching Completion
⌃
⇧
␣
Second Basic Completion
⌃
⌥
␣
Complete Current Statement
⇧
⌘
⏎
Reformat Code
⌥
⌘
L
Parameter Info
⌘
P
Quick Documentation
F1
Move Statement Up
⇧
⌘
↑
Move Statement Down
⇧
⌘
↓
Move Element Left
⌥
⇧
⌘
←
Move Statement Right
⌥
⇧
⌘
→
Move Line Up
⌥
⇧
↑
Move Line Down
⌥
⇧
↓
Comment with Line Comment
⌘
/
Comment with Block Comment
⌥
⌘
/
Surround With...
⌥
⌘
T
Generate...
⌘
N
Context navigation
Next Method
⌃
⇧
↓
Previous Method
⌃
⇧
↑
Go to Line/Column...
⌘
L
Switcher
⌃
⇥
Select In...
⌥
F1
Recent Files
⌘
E
Last Edit Location
⇧
⌘
⌫
Back
⌘
[
Forward
⌘
]
Select Next Tab
⇧
⌘
]
Select Previous Tab
⇧
⌘
[
Toggle Anonymous Bookmark
F3
Toggle Bookmark with Digit
^⇧
[DIGIT]
Toggle Bookmark with Mnemonic
⌥
F3
Show All Bookmarks
⌘
F3
Go to Bookmark with Digit
^
[DIGIT]
Show Mnemonic Bookmarks
⌥
⌘
F3
Show Bookmarks window
⌘
2
Show Structure window
⌘
7
Show Find window
⌘
3
Next Occurrence
⌥
⌘
↓
Previous Occurrence
⌥
⌘
↑
Find everything
Search Everywhere
⇧
then⇧
Find...
⌘
F
Find Next / Move to Next Occurrence
⌘
G
Find Previous / Move to Previous Occurrence
⇧
⌘
G
Replace...
⌘
R
Find in Files...
⇧
⌘
F
Replace in Files...
⇧
⌘
R
Go to File...
⇧
⌘
O
File Structure
⌘
F12
Go to Symbol...
⌥
⌘
O
Find Action...
⇧
⌘
A
Navigate from symbols
Find Usages
⌥
F7
Go to Declaration or Usages
⌘
B
Go to Type Declaration
⇧
⌘
B
Show Usages
⌥
⌘
F7
Go to Super Method
⌘
U
Go to Implementation(s)
⌥
⌘
B
Go to Test
⇧
⌘
T
Highlight Usages in File
⇧
⌘
F7
Code analysis
Show Intention Actions
⌥
⏎
Error Description
⌘
F1
Next Highlighted Error
F2
Previous Highlighted Error
⇧
F2
Run Inspection by Name...
⌥
⇧
⌘
I
Show Problems window
⌘
6
Run and debug
Run Anything
^
then^
Run context configuration
⌃
R
Run...
⌃
⌥
R
Debug context configuration
⌃
D
Debug...
⌃
⌥
D
Attach to Process...
⌥
⇧
F5
Stop
⌘
F2
Resume Program
⌥
⌘
R
Stop Background Processes...
⇧
⌘
F2
Step Over
F8
Force Step Over
⌥
⇧
F8
Step Into
F7
Smart Step Into
⇧
F7
Force Step Into
⌥
⇧
F7
Step Out
⇧
F8
Run To Cursor
⌥
F9
Force Run To Cursor
⌥
⌘
F9
Show Execution Point
⌥
F10
Evaluate Expression...
⌥
F8
Quick Evaluate Expression
⌥
⌘
F8
Toggle Line Breakpoint
⌘
F8
Toggle Temporary Line Breakpoint
⌥
⇧
⌘
F8
View Breakpoints...
⇧
⌘
F8
Edit Breakpoint
⇧
⌘
F8
Show Run window
⌘
4
Show Debug window
⌘
5
Show Services window
⌘
8
Refactorings
Refactor This...
⌃
T
Rename...
⇧
F6
Change Signature...
⌘
F6
Inline...
⌥
⌘
N
Move...
F6
Extract Method...
⌥
⌘
M
Introduce Field...
⌥
⌘
F
Introduce Parameter...
⌥
⌘
P
Introduce Variable...
⌥
⌘
V
Safe Delete...
⌘
⌦
Global VCS actions
VCS Operations Popup...
⌃
V
Commit...
⌘
K
Update Project
⌘
T
Rollback
⌥
⌘
Z
Push...
⇧
⌘
K
Next Change
⌃
⌥
⇧
↓
Previous Change
⌃
⌥
⇧
↑
Show Version Control window
⌘
9
Show Commit window
⌘
0
Differences viewer
Show Diff
⌘
D
Compare Files
⌘
D
Next Difference
F7
Previous Difference
⇧
F7
Accept Left Side
⌃
⌘
→
Accept Right Side
⌃
⌘
←
Select Opposite Diff Pane
⌃
⇧
⇥
Show Diff Settings Popup...
⇧
⌘
D
Tool windows
Hide Active Tool Window
⇧
ESCAPE
Hide All Tool Windows
⇧
⌘
F12
Jump to Last Tool Window
F12
Stretch to Left
⌃
⌥
←
Stretch to Right
⌃
⌥
→
Stretch to Top
⌃
⌥
↑
Stretch to Bottom
⌃
⌥
↓
Show Project window
⌘
1
Show Bookmarks window
⌘
2
Show Find window
⌘
3
Show Run window
⌘
4
Show Debug window
⌘
5
Show Problems window
⌘
6
Show Structure window
⌘
7
Show Services window
⌘
8
Show Version Control window
⌘
9
Show Commit window
⌘
0
Show Terminal window
⌥
F12