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.
Navigation
Section titled “Navigation”ShiftShift— Search Everywhere: files, actions, symbols, tool windows and settings in one boxCtrl+Shift+A— Find Action: run any command by name, including ones with no shortcutCtrl+E— recently opened filesCtrl+B— go to the declaration of the symbol under the cursorAlt+F7— find every usage of the symbol under the cursorAlt+1— focus the Project tool windowEsc— return focus to the editor
Editing
Section titled “Editing”Alt+Enter— show context actions: quick fixes and suggested improvements at the cursorCtrl+Alt+L— reformat the file or the selection to the project code styleCtrl+Alt+Shift+T— the refactoring menu: rename, move, extract, safe deleteCtrl+W/Ctrl+Shift+W— extend or shrink the selection along the syntax treeCtrl+//Ctrl+Shift+/— comment or uncomment lines and blocksCtrl+Shift+Enter— complete the current statement, adding the trailing punctuation and moving to the next lineF2/Shift+F2— jump to the next or previous error in the file
HTTP client
Section titled “HTTP client”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.
Reference
Section titled “Reference”- Mastering keyboard shortcuts — the full default keymap and how to change it.