IntelliJ IDEA logo

IntelliJ IDEA

Powerful Java and Kotlin IDE by JetBrains with intelligent code assistance, refactoring, and debugging

244 shortcuts

Visit website
Platform

General

ActionShortcut
Open corresponding tool window⌥#[09]
Save all⌃+S
Synchronize⌃+⌥+Y
Toggle maximizing editor⌃+⇧+F12
Inspect current file with current profile⌥+⇧+I
Quick switch current scheme⌃(backquote)
Open Settings dialog⌃+⌥+S
Open Project Structure dialog⌃+⌥+⇧+S
Find Action⌃+⇧+A
Open corresponding tool window⌥#[09]
Save all⌃+S
Synchronize⌃+⌥+Y
Toggle maximizing editor⌃+⇧+F12
Inspect current file with current profile⌥+⇧+I
Quick switch current scheme⌃(backquote)
Open Settings dialog⌃+⌥+S
Open Project Structure dialog⌃+⌥+⇧+S
Find Action⌃+⇧+A

Remember These Shortcuts

ActionShortcut
Smart code completion⌃+⇧+Space
Search everywherePress⇧twice
Show intention actions and quick-fixes⌥+↩
Generate code⌥Ins
Parameter info⌃+P
Extend selection⌃+W
Shrink selection⌃+⇧+W
Recent files popup⌃+E
Rename⇧+F6
Smart code completion⌃+⇧+Space
Search everywherePress⇧twice
Show intention actions and quick-fixes⌥+↩
Generate code⌥Ins
Parameter info⌃+P
Extend selection⌃+W
Shrink selection⌃+⇧+W
Recent files popup⌃+E
Rename⇧+F6

Debugging

ActionShortcut
Step over/intoF8+/F7
Smart step into/Step out⇧+F7+/⇧+F8
Run to cursor⌥+F9
Evaluate expression⌥+F8
Resume programF9
Toggle breakpoint⌃+F8
View breakpoints⌃+⇧+F8
Step over/intoF8+/F7
Smart step into/Step out⇧+F7+/⇧+F8
Run to cursor⌥+F9
Evaluate expression⌥+F8
Resume programF9
Toggle breakpoint⌃+F8
View breakpoints⌃+⇧+F8
ActionShortcut
Find⌃+F
Find next / previousF3+/⇧+F3
Replace⌃+R
Find in path⌃+⇧+F
Replace in path⌃+⇧+R
Select next occurrence⌥+J
Select all occurrences⌃+⌥+⇧+J
Unselect occurrence⌥+⇧+J
Find⌃+F
Find next / previousF3+/⇧+F3
Replace⌃+R
Find in path⌃+⇧+F
Replace in path⌃+⇧+R
Select next occurrence⌥+J
Select all occurrences⌃+⌥+⇧+J
Unselect occurrence⌥+⇧+J

Editing

ActionShortcut
Basic code completion⌃+Spacebar
Smart code completion⌃+⇧+Spacebar
Complete statement⌃+⇧+↩
Quick documentation lookup⌃+Q
External Doc⇧+F1
Brief info⌃mouse
Show descriptions of error at caret⌃+F1
Override methods⌃+O
Implement methods⌃+I
Surround with⌃+⌥+T
Comment / uncomment with line comment⌃+/
Comment / uncomment with block comment⌃+⇧+/
Context info⌥+Q
Reformat code⌃+⌥+L
Optimize imports⌃+⌥+O
Auto-indent line(s)Ctrol⌥+I
Indent / unindent selected linesTab+/⇧+Tab
Cut current line to clipboard⌃+Xor⇧+Delete
Copy current line to clipboard⌃+Cor⌃Ins
Paste from clipboard⌃+Vor⇧Ins
Paste from recent buffers⌃+⇧+V
Duplicate current line⌃+D
Delete line at caret⌃+Y
Smart line join⌃+⇧+J
Smart line split⌃+↩
Toggle case for word at caret or selected block⌃+⇧+U
Select till code block end / start⌃+⇧]/[
Delete to word end⌃+Delete
Delete to word start⌃(backspace)
Expand / collapse code block⌃NumPad/
Expand all⌃+⇧NumPad
Collapse all⌃+⇧NumPad
Close active editor tab⌃+F4
Basic code completion⌃+Spacebar
Smart code completion⌃+⇧+Spacebar
Complete statement⌃+⇧+↩
Quick documentation lookup⌃+Q
External Doc⇧+F1
Brief info⌃mouse
Show descriptions of error at caret⌃+F1
Override methods⌃+O
Implement methods⌃+I
Surround with⌃+⌥+T
Comment / uncomment with line comment⌃+/
Comment / uncomment with block comment⌃+⇧+/
Context info⌥+Q
Reformat code⌃+⌥+L
Optimize imports⌃+⌥+O
Auto-indent line(s)Ctrol⌥+I
Indent / unindent selected linesTab+/⇧+Tab
Cut current line to clipboard⌃+Xor⇧+Delete
Copy current line to clipboard⌃+Cor⌃Ins
Paste from clipboard⌃+Vor⇧Ins
Paste from recent buffers⌃+⇧+V
Duplicate current line⌃+D
Delete line at caret⌃+Y
Smart line join⌃+⇧+J
Smart line split⌃+↩
Toggle case for word at caret or selected block⌃+⇧+U
Select till code block end / start⌃+⇧]/[
Delete to word end⌃+Delete
Delete to word start⌃(backspace)
Expand / collapse code block⌃NumPad/
Expand all⌃+⇧NumPad
Collapse all⌃+⇧NumPad
Close active editor tab⌃+F4

Refactoring

ActionShortcut
CopyF5
MoveF6
Safe delete⌥+F6
Refactor this⌃+⌥+⇧+T
Change signature⌃+F6
Inline⌃+⌥+N
Extract method⌃+⌥+M
Extract variable⌃+⌥+V
Extract field⌃+⌥+F
Extract constant⌃+⌥+C
Extract parameter⌃+⌥+P
CopyF5
MoveF6
Safe delete⌥+F6
Refactor this⌃+⌥+⇧+T
Change signature⌃+F6
Inline⌃+⌥+N
Extract method⌃+⌥+M
Extract variable⌃+⌥+V
Extract field⌃+⌥+F
Extract constant⌃+⌥+C
Extract parameter⌃+⌥+P

Navigation

ActionShortcut
Go to class⌃+N
Go to file⌃+⇧+N
Go to symbol⌃+⌥+⇧+N
Go to next / previous editor tab⌥+←+/→
Go back to previous tool windowF12
Go to editor (from tool window)Esc
Hide active or last active window⇧+Esc
Go to line⌃+G
Recent locations popup⌃+⇧+E
Navigate back / forward⌃+⌥+←+/→
Navigate to last edit location⌃+⇧(backspace)
Select current file or symbol in any view⌥+F1
Go to declaration⌃+Bor⌃Click
Go to implementation⌃+⌥+B
Open quick definition lookup⌃+⇧+I
Go to type declaration⌃+⇧+B
Go to super-method / super-class⌃+U
Go to previous / next method⌥+↑+/↓
Move to code block end / start⌃]/[
File structure popup⌃+F12
Type hierarchy⌃+H
Method hierarchy⌃+⇧+H
Call hierarchy⌃+⌥+H
Next / Previous highlighted erroF2/⇧F2
Edit source / View sourceF4/Ctrl↩
Show navigation bar⌥+Home
Toggle bookmarkF11
Toggle bookmark with mnemonic⌃+F11
Go to numbered bookmark⌃#[09]
Show bookmarks⇧+F11
Go to class⌃+N
Go to file⌃+⇧+N
Go to symbol⌃+⌥+⇧+N
Go to next / previous editor tab⌥+←+/→
Go back to previous tool windowF12
Go to editor (from tool window)Esc
Hide active or last active window⇧+Esc
Go to line⌃+G
Recent locations popup⌃+⇧+E
Navigate back / forward⌃+⌥+←+/→
Navigate to last edit location⌃+⇧(backspace)
Select current file or symbol in any view⌥+F1
Go to declaration⌃+Bor⌃Click
Go to implementation⌃+⌥+B
Open quick definition lookup⌃+⇧+I
Go to type declaration⌃+⇧+B
Go to super-method / super-class⌃+U
Go to previous / next method⌥+↑+/↓
Move to code block end / start⌃]/[
File structure popup⌃+F12
Type hierarchy⌃+H
Method hierarchy⌃+⇧+H
Call hierarchy⌃+⌥+H
Next / Previous highlighted erroF2/⇧F2
Edit source / View sourceF4/Ctrl↩
Show navigation bar⌥+Home
Toggle bookmarkF11
Toggle bookmark with mnemonic⌃+F11
Go to numbered bookmark⌃#[09]
Show bookmarks⇧+F11

Compile and Run

ActionShortcut
Build project⌃+F9
Compile selected file, package or module⌃+⇧+F9
Select configuration and run / debug⌥+⇧F10/F9
Run / Debug⇧F10/F9
Run context configuration from editor⌃+⇧+F10
Run anythingPress⌃twice
Build project⌃+F9
Compile selected file, package or module⌃+⇧+F9
Select configuration and run / debug⌥+⇧F10/F9
Run / Debug⇧F10/F9
Run context configuration from editor⌃+⇧+F10
Run anythingPress⌃twice
ActionShortcut
Find usages / Find usages in file⌥+F7+/⌃+F7
Highlight usages in file⌃+⇧+F7
Show usages⌃+⌥+F7
Find usages / Find usages in file⌥+F7+/⌃+F7
Highlight usages in file⌃+⇧+F7
Show usages⌃+⌥+F7

VCS / Local History

ActionShortcut
Commit project to VCS⌃+K
Update project from VCS⌃+T
Push commits⌃+⇧+K
VCS quick popup⌥(backquote)
Commit project to VCS⌃+K
Update project from VCS⌃+T
Push commits⌃+⇧+K
VCS quick popup⌥(backquote)

Live Templates

ActionShortcut
Surround with Live Template⌃+⌥+J
Insert Live Template⌃+J
Surround with Live Template⌃+⌥+J
Insert Live Template⌃+J