Intellij Shortcut Cheat Sheet Verified -

Alt + J (multi-cursor) is a superpower – use it to rename or edit repeated patterns instantly. 3. Code Generation & Refactoring | Action | Shortcut (Win/Linux) | Mac | |--------|----------------------|-----| | Generate code (getters/setters/constructor) | Alt + Insert | Cmd + N | | Rename (refactor) | Shift + F6 | Shift + F6 | | Extract variable | Ctrl + Alt + V | Cmd + Opt + V | | Extract method | Ctrl + Alt + M | Cmd + Opt + M | | Extract constant | Ctrl + Alt + C | Cmd + Opt + C | | Inline variable/method | Ctrl + Alt + N | Cmd + Opt + N | | Surround with (if/loop/try) | Ctrl + Alt + T | Cmd + Opt + T | 4. Code Assistance & Search | Action | Shortcut (Win/Linux) | Mac | |--------|----------------------|-----| | Show intention actions (quick fixes) | Alt + Enter | Opt + Enter | | Basic code completion | Ctrl + Space | Ctrl + Space | | Smart completion (filters types) | Ctrl + Shift + Space | Ctrl + Shift + Space | | Show parameter info | Ctrl + P | Cmd + P | | Quick documentation | Ctrl + Q | Ctrl + J (or F1 ) | | Find in files | Ctrl + Shift + F | Cmd + Shift + F | | Find next / previous | F3 / Shift + F3 | Cmd + G / Cmd + Shift + G | | Replace in files | Ctrl + Shift + R | Cmd + Shift + R |

If you click through the menu bar for common actions, you’re working too slow. IntelliJ IDEA is a powerful IDE, but its true speed comes from keyboard shortcuts. intellij shortcut cheat sheet

Use double-press Shift for Search Everywhere – the single fastest way to find anything. 2. Editing – Faster Than Typing | Action | Shortcut (Win/Linux) | Mac | |--------|----------------------|-----| | Duplicate current line/block | Ctrl + D | Cmd + D | | Delete current line | Ctrl + Y | Cmd + Backspace | | Move line up/down | Ctrl + Shift + ↑/↓ | Cmd + Shift + ↑/↓ | | Comment/uncomment line | Ctrl + / | Cmd + / | | Block comment | Ctrl + Shift + / | Cmd + Shift + / | | Select next occurrence (multi-cursor) | Alt + J | Ctrl + G | | Select all occurrences | Ctrl + Shift + Alt + J | Ctrl + Cmd + G | | Expand/shrink selection | Ctrl + W / Ctrl + Shift + W | Cmd + W / Cmd + Shift + W | | Join lines | Ctrl + Shift + J | Cmd + Shift + J | Alt + J (multi-cursor) is a superpower –

This cheat sheet organizes shortcuts by what you actually do — not by key complexity. Bookmark this, print it, or keep it open on a second monitor. Shortcuts below are for the Windows / Linux default keymap . Mac users: Replace Ctrl with Cmd and Alt with Option . 1. Navigation – Move Without Your Mouse | Action | Shortcut (Win/Linux) | Mac | |--------|----------------------|-----| | Go to class (search by name) | Ctrl + N | Cmd + O | | Go to file (search by name) | Ctrl + Shift + N | Cmd + Shift + O | | Go to symbol (method/field) | Ctrl + Alt + Shift + N | Cmd + Opt + O | | Recent files popup | Ctrl + E | Cmd + E | | Navigate back/forward | Ctrl + Alt + ←/→ | Cmd + Opt + ←/→ | | Jump to last edit location | Ctrl + Shift + Backspace | Cmd + Shift + Backspace | | Go to line : column | Ctrl + G | Cmd + G | | Open tool window (e.g., Git, Terminal) | Alt + [number] (e.g., Alt+9 for Git) | Cmd + [number] | Code Assistance & Search | Action | Shortcut