This is a searchable reference for IntelliJ IDEA keyboard shortcuts. Choose the macOS or Windows/Linux default keymap, then look up a shortcut by the action it performs or by the key combination itself. It covers search, navigation, code completion, editing, refactoring and run/debug — the actions that make navigating a large codebase fast.
How it works
IntelliJ ships two default keymaps: “macOS” and “Windows/Linux (Default)”. They differ both in modifier keys and in some bindings, so the tool keeps both for every action and shows whichever you select. Search matches the action description, the group and either key column, so you can find “rename”, “go to declaration” or a chord like “alt enter” directly. The group filter lets you study one area — for instance every Refactor shortcut — at a glance.
The shortcuts worth learning first
Rather than trying to memorise the full keymap at once, a handful of high-impact shortcuts cover most of what you do day-to-day.
Finding things:
- Search Everywhere — double-tap Shift. Finds classes, files, symbols, actions, and settings in one box. This alone eliminates the need for most menu navigation.
- Find in Files —
Ctrl+Shift+F/⌘⇧F. Full-text search across the project. - Recent Files —
Ctrl+E/⌘E. Jump between the files you have open recently without clicking through tabs.
Navigation:
- Go to Declaration —
Ctrl+B/⌘B. Jump from any symbol to where it is defined. - Navigate Back / Forward —
Ctrl+Alt+Left/Right/⌘⌥← →. Move through your navigation history like a browser back button. - Jump to Line —
Ctrl+G/⌘L. Go directly to a specific line number.
Editing:
- Show Context Actions —
Alt+Enter/⌥↩. The single most important shortcut. Use it on any highlighted symbol or error to import a class, apply a quick fix, run a refactoring, or generate code. - Duplicate Line —
Ctrl+D/⌘D. Copies the current line below. - Delete Line —
Ctrl+Y/⌘⌫. Removes the line at the caret. - Move Line Up/Down —
Alt+Shift+Up/Down/⌥⇧↑↓. Reorders lines without cut-and-paste.
Refactoring:
- Refactor This —
Ctrl+Alt+Shift+T/⌃T. Opens the full refactoring menu at the caret, including Rename, Extract Method, Extract Variable, and Inline. - Rename —
Shift+F6. Rename a symbol and all its usages across the project. - Extract Method —
Ctrl+Alt+M/⌘⌥M. Pulls selected code into a new method.
Running and debugging:
- Run —
Shift+F10/⌃R. Run the current configuration. - Debug —
Shift+F9/⌃D. Launch in the debugger. - Toggle Breakpoint —
Ctrl+F8/⌘F8. Set or clear a breakpoint on the current line.
macOS symbol key
The reference table uses Apple standard symbols: ⌘ Command, ⌥ Option/Alt, ⌃ Control, ⇧ Shift, ↩ Enter, ⌫ Delete. On Windows/Linux, Ctrl replaces ⌘ and Alt replaces ⌥ in most bindings.
JetBrains family coverage
Because all JetBrains IDEs — PyCharm, WebStorm, GoLand, Rider, CLion — share the same default keymap as IntelliJ IDEA, these shortcuts transfer directly. A few language-specific actions (for example Python-specific refactorings in PyCharm) have their own bindings, but navigation, editing, and the core refactor actions are identical across the family. Everything runs in your browser; nothing is uploaded.