⌨️ JetBrains IDEs Keyboard Shortcuts
Note: These shortcuts correspond to the default Windows / Linux keymap. For macOS users, generally replace
CtrlwithCmd($\mathcal{⌘}$),AltwithOption($\mathcal{⌥}$), andShiftis the same ($\mathcal{⇧}$).
⚙️ General & Essential Actions
| Shortcut | Action |
|---|---|
Double Shift |
Search Everywhere (Find files, actions, classes, settings) |
Ctrl + Shift + A |
Find Action (Run any IDE command by name) |
Ctrl + Alt + S |
Open Settings / Preferences |
Ctrl + Shift + F12 |
Toggle maximizing the active editor tab |
Alt + 1 |
Toggle Project tool window visibility |
| `Ctrl + `` | Switch Quick Map / Scheme (Theme, Keymap, etc.) |
📁 File & Tab Management
| Shortcut | Action |
|---|---|
Ctrl + Shift + N |
Go to File (Quick open by name) |
Ctrl + E |
Show Recent Files popup |
Ctrl + Shift + E |
Show Recently Changed Files popup |
Ctrl + S |
Save all (JetBrains autosaves, but forces file sync) |
Ctrl + F4 |
Close active editor tab |
Alt + Right / Left |
Switch to next / previous editor tab |
📝 Editing & Code Generation
| Shortcut | Action |
|---|---|
Ctrl + Space |
Basic code completion |
Ctrl + Shift + Space |
Smart code completion (filters by expected type) |
Alt + Enter |
Show Intentions / Quick Fixes (Show context actions) |
Ctrl + Alt + L |
Reformat Code (Aligns to code style settings) |
Ctrl + O / Ctrl + I |
Override methods / Implement methods |
Alt + Insert |
Generate code (Constructors, Getters/Setters, Boilerplate) |
Ctrl + Shift + Enter |
Complete Current Statement (adds semicolons, brackets, etc.) |
Ctrl + / |
Toggle line comment |
Ctrl + Shift + / |
Toggle block comment |
✂️ Selection & Text Manipulation
| Shortcut | Action |
|---|---|
Ctrl + W |
Extend selection (Selects word, then expression, then block) |
Ctrl + Shift + W |
Shrink current selection |
Ctrl + D |
Duplicate current line or selection |
Ctrl + Y |
Delete current line |
Ctrl + Shift + J |
Join lines together |
Shift + Enter |
Start new line below current cursor position |
Ctrl + Alt + Shift + Insert |
Create scratch file (temporary code playground) |
👥 Multiple Cursors & Column Selection
| Shortcut | Action |
|---|---|
Alt + Shift + Click |
Add/Remove multiple cursors |
Alt + J |
Select next occurrence of current word |
Alt + Shift + J |
Unselect last selected occurrence |
Ctrl + Alt + Shift + J |
Select all occurrences of current word in file |
Shift + Alt + Insert |
Toggle Column Selection Mode (Box selection) |
🔍 Search & Replace
| Shortcut | Action |
|---|---|
Ctrl + F |
Find text within current file |
F3 / Shift + F3 |
Find next / previous match in file |
Ctrl + R |
Replace text within current file |
Ctrl + Shift + F |
Find in Path (Global search across all files) |
Ctrl + Shift + R |
Replace in Path (Global replace across all files) |
🛠️ Refactoring (The JetBrains Superpower)
| Shortcut | Action |
|---|---|
Shift + F6 |
Rename file, class, method, or variable safely |
Ctrl + Alt + M |
Extract selected code into a new Method |
Ctrl + Alt + V |
Extract expression into a new Local Variable |
Ctrl + Alt + F |
Extract expression into a new Field |
Ctrl + Alt + C |
Extract expression into a new Constant |
Ctrl + Alt + P |
Extract expression into a new Parameter |
Ctrl + Alt + N |
Inline variable, method, or constant |
🚀 Navigation & Code Intelligence
| Shortcut | Action |
|---|---|
Ctrl + B / Ctrl + Click |
Go to Definition / Declaration |
Ctrl + Alt + B |
Go to Implementation(s) |
Ctrl + U |
Go to Super-method / Super-class |
Alt + F7 |
Find Usages (Shows where a symbol is used project-wide) |
Ctrl + F12 |
File Structure popup (Lists all methods/fields in current file) |
Ctrl + Alt + Left / Right |
Navigate Back / Forward in history |
Ctrl + G |
Go to specific line / column |
F2 / Shift + F2 |
Jump to next / previous highlighted syntax error |
🐞 Running & Debugging
| Shortcut | Action |
|---|---|
Shift + F10 |
Run current configuration |
Shift + F9 |
Debug current configuration |
Ctrl + F8 |
Toggle Breakpoint on current line |
Ctrl + Shift + F8 |
View / Edit all breakpoints |
F8 |
Step Over (Execute next line without entering methods) |
F7 |
Step Into (Enter inside the method on current line) |
Shift + F8 |
Step Out (Finish current method execution and return) |
Alt + F9 |
Run to Cursor |
Alt + F8 |
Evaluate Expression (Evaluate variables while debugging) |








