IntelliJ IDEA Keyboard Shortcuts Cheatsheet — Printable PDF Reference
IntelliJ IDEA Keyboard Shortcuts Cheatsheet — Printable PDF Reference
DodaTech
Updated Jun 20, 2026
4 min read
📄 Printable PDF: Use your browser’s Print (Ctrl+P / Cmd+P) → “Save as PDF” to get a printer-friendly PDF of this IntelliJ IDEA shortcut cheatsheet.
Complete IntelliJ IDEA keyboard shortcuts for efficient code navigation, editing, debugging, refactoring, and version control. Default keymap (Windows/Linux) shown; macOS equivalents in parentheses.
Navigation
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Ctrl+N | Cmd+O | Find class |
Ctrl+Shift+N | Cmd+Shift+O | Find file |
Ctrl+Alt+Shift+N | Cmd+Alt+O | Go to symbol |
Ctrl+E | Cmd+E | Recent files |
Ctrl+Shift+E | Cmd+Shift+E | Recently edited files |
Ctrl+Tab | Ctrl+Tab | Switcher (hold Ctrl) |
Alt+→ / ← | Ctrl+→ / ← | Next / Previous tab |
Alt+F1 | Alt+F1 | Select current in any view |
F11 | F11 | Toggle bookmark |
Ctrl+F11 | Alt+F11 | Bookmark with mnemonic |
Shift+F11 | Cmd+F11 | Show bookmarks |
Ctrl+G | Cmd+L | Go to line |
Ctrl+Alt+← / → | Cmd+[ / ] | Navigate back / forward |
Editing
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Ctrl+W | Alt+↑ | Extend selection |
Ctrl+Shift+W | Alt+↓ | Shrink selection |
Ctrl+D | Cmd+D | Duplicate line or selection |
Ctrl+Y | Cmd+Backspace | Delete line |
Ctrl+C / Ctrl+X / Ctrl+V | Cmd+C/X/V | Copy / Cut / Paste |
Ctrl+Shift+V | Cmd+Shift+V | Paste from history |
Ctrl+Shift+Z | Cmd+Shift+Z | Redo |
Ctrl+Z | Cmd+Z | Undo |
Alt+Shift+↑ / ↓ | Alt+Shift+↑ / ↓ | Move line up / down |
Ctrl+/ | Cmd+/ | Comment / uncomment line |
Ctrl+Shift+/ | Cmd+Shift+/ | Block comment |
Ctrl+Shift+Enter | Cmd+Shift+Enter | Complete current statement |
Ctrl+Alt+L | Cmd+Alt+L | Reformat code |
Ctrl+Alt+O | Ctrl+Alt+O | Optimize imports |
Ctrl+Alt+I | Ctrl+Alt+I | Auto-indent lines |
Code Completion
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Ctrl+Space | Ctrl+Space | Basic completion |
Ctrl+Shift+Space | Ctrl+Shift+Space | Smart completion |
Ctrl+Shift+Enter | Cmd+Shift+Enter | Complete statement |
Alt+Enter | Alt+Enter | Show intention actions / quick fix |
Ctrl+P | Cmd+P | Parameter info |
Ctrl+Q | Ctrl+J | Quick documentation |
Ctrl+Shift+I | Alt+Space | Quick definition |
Ctrl+F1 | Alt+F1 | Error description |
Refactoring
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Shift+F6 | Shift+F6 | Rename |
Ctrl+F6 | Cmd+F6 | Change signature |
F6 | F6 | Move |
F5 | F5 | Copy |
Ctrl+Alt+N | Cmd+Alt+N | Inline variable |
Ctrl+Alt+M | Cmd+Alt+M | Extract method |
Ctrl+Alt+V | Cmd+Alt+V | Extract variable |
Ctrl+Alt+F | Cmd+Alt+F | Extract field |
Ctrl+Alt+C | Cmd+Alt+C | Extract constant |
Ctrl+Alt+P | Cmd+Alt+P | Extract parameter |
Ctrl+Shift+Alt+T | Ctrl+T | Refactor this (menu) |
Debugging
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Shift+F9 | Ctrl+D | Debug |
F9 | Cmd+Alt+R | Resume program |
F8 | F8 | Step over |
F7 | F7 | Step into |
Shift+F7 | Shift+F7 | Smart step into |
Shift+F8 | Shift+F8 | Step out |
Alt+F8 | Alt+F8 | Evaluate expression |
Alt+F9 | Cmd+Alt+F9 | Run to cursor |
Ctrl+F8 | Cmd+F8 | Toggle breakpoint |
Ctrl+Shift+F8 | Cmd+Shift+F8 | View breakpoints |
Search & Replace
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Ctrl+F | Cmd+F | Find in file |
Ctrl+R | Cmd+R | Replace in file |
Ctrl+Shift+F | Cmd+Shift+F | Find in path |
Ctrl+Shift+R | Cmd+Shift+R | Replace in path |
Ctrl+Shift+A | Shift+Cmd+A | Find action |
Alt+F7 | Alt+F7 | Find usages |
Ctrl+F7 | Cmd+F7 | Find usages in file |
Ctrl+Alt+F7 | Cmd+Alt+F7 | Show usages |
Version Control / Git
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Alt+~ (backtick) | Ctrl+V | VCS quick popup |
Ctrl+K | Cmd+K | Commit changes |
Ctrl+Shift+K | Cmd+Shift+K | Push commits |
Ctrl+T | Cmd+T | Update project (pull) |
Alt+Shift+C | Alt+Shift+C | Show recent changes |
Ctrl+Alt+Z | Cmd+Alt+Z | Rollback / revert |
Ctrl+Alt+A | Cmd+Alt+A | Add to VCS |
Ctrl+Shift+Alt+D | — | Show diff |
Build & Run
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Shift+F10 | Ctrl+R | Run |
Shift+F9 | Ctrl+D | Debug |
Ctrl+F2 | Cmd+F2 | Stop |
Ctrl+Shift+F9 | Ctrl+Shift+D | Run context configuration |
Ctrl+Shift+F10 | Ctrl+Shift+R | Run from editor |
Alt+Shift+F10 | Ctrl+Alt+R | Run (select config) |
Tool Windows
| Shortcut (Win/Linux) | Shortcut (macOS) | What it does |
|---|---|---|
Alt+1 | Cmd+1 | Project view |
Alt+2 | Cmd+2 | Favorites / bookmarks |
Alt+3 | Cmd+3 | Find |
Alt+4 | Cmd+4 | Run |
Alt+5 | Cmd+5 | Debug |
Alt+6 | Cmd+6 | Problems / TODO |
Alt+7 | Cmd+7 | Structure |
Alt+8 | Cmd+8 | Services |
Alt+9 | Cmd+9 | Version Control |
Alt+F12 | Cmd+F12 | Terminal |
Shift+Escape | Shift+Escape | Hide active tool window |
Ctrl+Shift+F12 | Cmd+Shift+F12 | Toggle maximized editor |
Live Templates
| Shortcut | What it does |
|---|---|
sout | System.out.println() |
soutv | System.out.println("var = " + var) |
psvm or main | public static void main(String[] args) |
fori | For-loop with index |
iter | For-each loop |
itar | For-loop over array |
ifn | if (var == null) |
inn | if (var != null) |
thr | throw new |
Ctrl+J | Insert live template (menu) |
See the full IntelliJ IDEA guide for advanced configuration.
Previous
Vim Keyboard Shortcuts Cheatsheet — Printable PDF Reference
Next
Figma Keyboard Shortcuts Cheatsheet — Printable PDF Reference
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro