Skip to content

IntelliJ IDEA

Shortcuts below are the Windows/Linux default keymap. On macOS the equivalents differ — Cmd replaces Ctrl for most of them — and the authoritative mapping for either platform is in the IDE itself under Settings, Keymap.

  • Shift Shift — Search Everywhere: files, actions, symbols, tool windows and settings in one box
  • Ctrl+Shift+A — Find Action: run any command by name, including ones with no shortcut
  • Ctrl+E — recently opened files
  • Ctrl+B — go to the declaration of the symbol under the cursor
  • Alt+F7 — find every usage of the symbol under the cursor
  • Alt+1 — focus the Project tool window
  • Esc — return focus to the editor
  • Alt+Enter — show context actions: quick fixes and suggested improvements at the cursor
  • Ctrl+Alt+L — reformat the file or the selection to the project code style
  • Ctrl+Alt+Shift+T — the refactoring menu: rename, move, extract, safe delete
  • Ctrl+W / Ctrl+Shift+W — extend or shrink the selection along the syntax tree
  • Ctrl+/ / Ctrl+Shift+/ — comment or uncomment lines and blocks
  • Ctrl+Shift+Enter — complete the current statement, adding the trailing punctuation and moving to the next line
  • F2 / Shift+F2 — jump to the next or previous error in the file

IntelliJ IDEA ships an HTTP client that runs requests written in plain .http or .rest files in the project, so requests live in version control alongside the code they exercise and can be parameterised per environment. See HTTP client in the code editor.