Essential

Search Everywhere
ShiftShift
Go to Class
CtrlN
Go to File
CtrlShiftN
Go to Symbol
CtrlAltShiftN
Recent Files
CtrlE

Editing

Duplicate Line
CtrlD
Delete Line
CtrlY
Move Line Up/Down
ShiftAlt↑↓
Comment/Uncomment Line
Ctrl/
Block Comment
CtrlShift/

Refactoring

Refactor This
CtrlAltShiftT
Rename
ShiftF6
Extract Method
CtrlAltM
Extract Variable
CtrlAltV
Optimize Imports
CtrlAltO

Run & Debug

Run
ShiftF10
Debug
ShiftF9
Toggle Breakpoint
CtrlF8
Step Over
F8
Step Into
F7
Step Out
ShiftF8
Resume Program
F9
Evaluate Expression
AltF8
Run to Cursor
AltF9
View Breakpoints
CtrlShiftF8

Navigation

Go to Declaration
CtrlB
Go to Implementation
CtrlAltB
Go to Super Method
CtrlU
Go to Type Declaration
CtrlShiftB
Find Usages
AltF7
Navigate Back
CtrlAlt
Navigate Forward
CtrlAlt
Last Edit Location
CtrlShiftBackspace
File Structure
CtrlF12
Type Hierarchy
CtrlH
Method Hierarchy
CtrlShiftH
Call Hierarchy
CtrlAltH
Next Error
F2
Previous Error
ShiftF2
Next Method
Alt
Previous Method
Alt

Code Completion

Basic Completion
CtrlSpace
Smart Type Completion
CtrlShiftSpace
Complete Statement
CtrlShiftEnter
Show Intention Actions
AltEnter
Insert Live Template
CtrlJ
Surround With
CtrlAltT
Generate Code
AltInsert
Override Methods
CtrlO
Implement Methods
CtrlI

Search & Replace

Find
CtrlF
Replace
CtrlR
Find in Files
CtrlShiftF
Replace in Files
CtrlShiftR
Find Next
F3
Find Previous
ShiftF3
Find Action
CtrlShiftA

Code Formatting

Reformat Code
CtrlAltL
Auto-Indent Lines
CtrlAltI
Optimize Imports
CtrlAltO
Code Cleanup
CtrlAltShiftL

Tool Windows

Project
Alt1
Favorites
Alt2
Find
Alt3
Run
Alt4
Debug
Alt5
Problems
Alt6
Structure
Alt7
Services
Alt8
Version Control
Alt9
Terminal
AltF12
Hide Active Tool
ShiftEsc
Hide All Tools
CtrlShiftF12

Selection

Select Word at Caret
CtrlW
Extend Selection
CtrlW
Shrink Selection
CtrlShiftW
Select All
CtrlA
Select Next Occurrence
AltJ
Unselect Occurrence
AltShiftJ
Select All Occurrences
CtrlAltShiftJ

VCS/Git

VCS Operations Popup
Alt`
Commit
CtrlK
Update Project
CtrlT
Push
CtrlShiftK
Show History
AltShiftH
Show Diff
CtrlD

File Operations

New File
AltInsert
Save All
CtrlS
Close Tab
CtrlF4
Reopen Closed Tab
CtrlShiftT
Synchronize
CtrlAltY

Additional Shortcuts

Show Intention Actions
AltEnter
Show Context Actions
AltEnter
Toggle Line Breakpoint
CtrlF8
View Breakpoints
CtrlShiftF8
Step Over
F8
Step Into
F7
Smart Step Into
ShiftF7
Resume Program
F9
Show Settings
CtrlAltS

IntelliJ IDEA Keyboard Shortcuts 2025: Complete Productivity Guide

IntelliJ IDEA keyboard shortcuts are essential for Java developers, Kotlin programmers, and anyone using JetBrains IDEs. Mastering IntelliJ shortcuts can boost your coding productivity by 50% or more. This comprehensive guide covers IntelliJ IDEA shortcuts for Windows, Mac, and Linux, including navigation, refactoring, debugging, and code generation shortcuts that professional developers use daily.

Why Learn IntelliJ IDEA Keyboard Shortcuts?

IntelliJ IDEA is widely regarded as the most intelligent Java IDE, with powerful features for code completion, refactoring, and analysis. However, accessing these features quickly requires keyboard shortcuts. Professional developers who master IntelliJ shortcuts navigate codebases faster, refactor code more confidently, and debug issues more efficiently than those relying on mouse navigation.

The most impactful IntelliJ shortcuts include Search Everywhere (Double Shift), Go to Declaration (Ctrl+B or Cmd+B), Find Usages (Alt+F7 or Cmd+F7), and Refactor This (Ctrl+Alt+Shift+T or Cmd+T). These four shortcuts alone transform your IntelliJ experience, providing instant access to code navigation and intelligent refactoring options.

Essential IntelliJ IDEA Navigation Shortcuts

Navigation is the foundation of efficient coding in IntelliJ IDEA. Double Shift opens Search Everywhere, the universal search dialog for finding files, classes, symbols, actions, and settings. Ctrl+N (Cmd+O on Mac) opens Go to Class, Ctrl+Shift+N (Cmd+Shift+O) opens Go to File, and Ctrl+Alt+Shift+N (Cmd+Alt+O) opens Go to Symbol for finding methods and fields across the entire project.

Code navigation shortcuts include Ctrl+B (Cmd+B) for Go to Declaration, Ctrl+Alt+B (Cmd+Alt+B) for Go to Implementation, and Ctrl+Shift+B (Cmd+Shift+B) for Go to Type Declaration. Alt+F7 (Cmd+F7) finds usages of the current symbol, while Ctrl+F12 (Cmd+F12) shows the file structure popup for quick method navigation within the current file.

IntelliJ Code Editing and Completion Shortcuts

IntelliJ's intelligent code completion shortcuts dramatically speed up coding. Ctrl+Space triggers basic completion, while Ctrl+Shift+Space activates smart type-matching completion that filters suggestions based on expected types. Ctrl+Shift+Enter completes the current statement, automatically adding semicolons, braces, and parentheses.

Live templates (code snippets) are activated by typing abbreviations and pressing Tab. Common templates include psvm (public static void main), sout (System.out.println), and fori (for loop). Ctrl+J (Cmd+J) shows available live templates for the current context. Alt+Enter (Option+Enter) opens the intention actions and quick fixes menu, offering context-aware code improvements and error fixes.

Refactoring Shortcuts in IntelliJ IDEA

IntelliJ IDEA is famous for powerful refactoring capabilities, all accessible via keyboard shortcuts. Ctrl+Alt+Shift+T (Ctrl+T on Mac) opens the Refactor This dialog, showing all applicable refactorings for the current context. Shift+F6 renames variables, methods, classes, and files safely across the entire project with automatic reference updates.

Advanced refactoring shortcuts include Ctrl+Alt+M (Cmd+Alt+M) to extract methods, Ctrl+Alt+V (Cmd+Alt+V) to extract variables, Ctrl+Alt+C (Cmd+Alt+C) to extract constants, and Ctrl+Alt+F (Cmd+Alt+F) to extract fields. Ctrl+Alt+P (Cmd+Alt+P) extracts parameters, while Ctrl+F6 (Cmd+F6) changes method signatures. These refactorings maintain code correctness by updating all references automatically.

Debugging Shortcuts for IntelliJ IDEA

Efficient debugging relies heavily on keyboard shortcuts. F9 resumes program execution, F8 steps over to the next line, F7 steps into methods, and Shift+F8 steps out of the current method. Ctrl+F8 (Cmd+F8) toggles breakpoints on the current line, while Ctrl+Shift+F8 (Cmd+Shift+F8) opens the breakpoints dialog for managing all breakpoints.

Advanced debugging shortcuts include Alt+F9 (Option+F9) to run to cursor, Alt+F8 (Option+F8) to evaluate expressions during debugging, and Ctrl+Shift+F8 (Cmd+Shift+F8) to view and manage breakpoints. F2 navigates to the next highlighted error, while Shift+F2 navigates to the previous error, allowing quick error fixing without leaving the keyboard.

IntelliJ Window and Tool Window Management

Managing IntelliJ's interface efficiently requires tool window shortcuts. Alt+1 (Cmd+1) toggles the Project tool window, Alt+7 (Cmd+7) opens Structure, Alt+9 (Cmd+9) shows Version Control, and Alt+F12 (Option+F12) opens the Terminal. Shift+Esc hides the active tool window, while Ctrl+Shift+F12 (Cmd+Shift+F12) toggles maximum editor space by hiding all tool windows.

Editor management shortcuts include Ctrl+Tab (Ctrl+Tab) to switch between files and tool windows via the switcher popup, Ctrl+E (Cmd+E) for recent files, and Ctrl+Shift+E (Cmd+Shift+E) for recent locations. Alt+← and Alt+→ (Cmd+[, Cmd+]) navigate backward and forward through edit locations, essential for jumping between recently edited code sections.

Running and Testing Shortcuts

IntelliJ provides powerful shortcuts for running and testing code. Shift+F10 (Ctrl+R) runs the current configuration, while Shift+F9 (Ctrl+D) debugs it. Ctrl+Shift+F10 (Ctrl+Shift+R) runs the context configuration (automatically determining what to run based on cursor position). Alt+Shift+F10 (Ctrl+Alt+R) shows the Run popup for selecting configurations.

Essential

Search Everywhere
Go to Class
O
Go to File
O
Go to Symbol
O
Recent Files
E

Editing

Duplicate Line
D
Delete Line
Move Line Up/Down
↑↓
Comment/Uncomment Line
/
Block Comment
/
Basic Code Completion
Space
Smart Code Completion
Space
Complete Current Statement
Reformat Code
L
Optimize Imports
O

Navigation

Go to Declaration
B
Go to Implementation
B
Go to Type Declaration
B
Go to Super Method
U
Go to Test
T
Go to Line
L
File Structure
F12
Navigate Back
[
Navigate Forward
]
Last Edit Location

Refactoring

Refactor This
T
Rename
F6
Extract Method
M
Extract Variable
V
Extract Constant
C
Extract Field
F
Extract Parameter
P
Inline
N
Change Signature
F6
Safe Delete

Debugging

Toggle Breakpoint
F8
Resume Program
R
Step Over
F8
Step Into
F7
Step Out
F8
Run to Cursor
F9
Evaluate Expression
F8
View Breakpoints
F8
Show Execution Point
F10

Search & Replace

Find in File
F
Replace in File
R
Find in Path
F
Replace in Path
R
Find Next
G
Find Previous
G
Find Usages
F7
Show Usages
F7

Tool Windows

Project
1
Commit
0
Favorites
2
Run
4
Debug
5
Structure
7
Services
8
Version Control
9
Terminal
F12
Hide All Windows
F12

Running & Testing

Run
R
Debug
D
Run Context Configuration
R
Debug Context Configuration
D
Select Configuration and Run
R
Select Configuration and Debug
D
Edit Configurations
R
Rerun Tests
R

Code Generation

Generate Code
N
Override Methods
O
Implement Methods
I
Surround With
T
Insert Live Template
J

Multi-Cursor & Selection

Add Cursor Above
Add Cursor Below
Select Next Occurrence
G
Select All Occurrences
G
Unselect Occurrence
G
Extend Selection
Shrink Selection

Version Control

VCS Operations Popup
V
Commit Changes
K
Update Project
T
Push Commits
K
Show Diff
D

Editor Actions

Close Active Tab
W
Save All
S
Open Settings
,
Project Structure
;
Maximize/Restore Editor
F12
Show Intention Actions
Quick Documentation
F1
Parameter Info
P

Master more development shortcuts: VS CodeSublime TextChrome DevTools