IntelliJ IDEA Keyboard Shortcuts

Look up IntelliJ shortcuts by action or key for macOS and Windows.

A searchable IntelliJ IDEA keymap reference for the macOS and Windows/Linux default keymaps, covering search, navigation, editing, refactoring and run/debug shortcuts with descriptions. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

What is Search Everywhere and how do I open it?

Search Everywhere finds classes, files, symbols, actions and settings from one box. Open it by pressing Shift twice in quick succession. It is the fastest way to reach anything in the IDE without remembering a specific shortcut.

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 FilesCtrl+Shift+F / ⌘⇧F. Full-text search across the project.
  • Recent FilesCtrl+E / ⌘E. Jump between the files you have open recently without clicking through tabs.

Navigation:

  • Go to DeclarationCtrl+B / ⌘B. Jump from any symbol to where it is defined.
  • Navigate Back / ForwardCtrl+Alt+Left/Right / ⌘⌥← →. Move through your navigation history like a browser back button.
  • Jump to LineCtrl+G / ⌘L. Go directly to a specific line number.

Editing:

  • Show Context ActionsAlt+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 LineCtrl+D / ⌘D. Copies the current line below.
  • Delete LineCtrl+Y / ⌘⌫. Removes the line at the caret.
  • Move Line Up/DownAlt+Shift+Up/Down / ⌥⇧↑↓. Reorders lines without cut-and-paste.

Refactoring:

  • Refactor ThisCtrl+Alt+Shift+T / ⌃T. Opens the full refactoring menu at the caret, including Rename, Extract Method, Extract Variable, and Inline.
  • RenameShift+F6. Rename a symbol and all its usages across the project.
  • Extract MethodCtrl+Alt+M / ⌘⌥M. Pulls selected code into a new method.

Running and debugging:

  • RunShift+F10 / ⌃R. Run the current configuration.
  • DebugShift+F9 / ⌃D. Launch in the debugger.
  • Toggle BreakpointCtrl+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.