| Action | Shortcut (Win/Linux) | macOS | | :--- | :--- | :--- | | (variable, method, class) | Shift + F6 | Shift + F6 | | Extract Variable | Ctrl + Alt + V | Cmd + Opt + V | | Extract Field | Ctrl + Alt + F | Cmd + Opt + F | | Extract Constant | Ctrl + Alt + C | Cmd + Opt + C | | Extract Method | Ctrl + Alt + M | Cmd + Opt + M | | Extract Parameter | Ctrl + Alt + P | Cmd + Opt + P | | Inline (variable/method) | Ctrl + Alt + N | Cmd + Opt + N | | Copy Reference (fully qualified name) | Ctrl + Alt + Shift + C | Cmd + Opt + Shift + C | | Change Signature (method parameters) | Ctrl + F6 | Cmd + F6 |
IntelliJ IDEA is a powerhouse, but its true potential is unlocked by keeping your hands on the keyboard. This cheat sheet compiles the most essential shortcuts, live templates, and debugging tricks to speed up your workflow. intellij cheat sheet
By incorporating these shortcuts and tips into your daily development routine, you'll be able to navigate and utilize IntelliJ more efficiently, saving you time and increasing your productivity. | Action | Shortcut (Win/Linux) | macOS |
Ctrl + Shift + A (Win/Linux) | ⌘ + ⇧ + A (Mac)If you forget a shortcut but know the name (e.g., "Reload Maven Project"), type it here to execute it directly. Navigation & Search Ctrl + Shift + A (Win/Linux) | ⌘
| Action | Shortcut (Win/Linux) | macOS | | :--- | :--- | :--- | | | Ctrl + F8 | Cmd + F8 | | Debug Current Context | Shift + F9 | Ctrl + D | | Step Over (line by line) | F8 | F8 | | Step Into (method) | F7 | F7 | | Smart Step Into (choose which method) | Shift + F7 | Shift + F7 | | Step Out (return to caller) | Shift + F8 | Shift + F8 | | Resume Program | F9 | Cmd + Opt + R | | Evaluate Expression | Alt + F8 | Opt + F8 | | Resume to Cursor | Alt + F9 | Opt + F9 |
Live templates are code snippets that expand instantly. Type these abbreviations and press Tab (or Enter ).