Intellij Shortcut Cheat Sheet -

Mastering the keyboard is the fastest way to bridge the gap between thinking about code and actually writing it. Using an helps you minimize mouse usage, keeping your hands on the home row and your focus on the logic.

Mastery of the Find Action command alone can mitigate the steep learning curve of the IDE, serving as a bridge between the user's intent and the tool's execution.

These shortcuts facilitate "coding at the speed of thought," reducing manual typing and formatting overhead. intellij shortcut cheat sheet

Use double-press Shift for Search Everywhere – the single fastest way to find anything.

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. Mastering the keyboard is the fastest way to

| Action | Windows / Linux | macOS | Description | | :--- | :--- | :--- | :--- | | | Shift + F6 | Shift + F6 | Renames a variable, method, or class across the entire project. | | Extract Variable | Ctrl + Alt + V | Cmd + Opt + V | Extracts an expression into a new local variable. | | Extract Method | Ctrl + Alt + M | Cmd + Opt + M | Turns a selection of code into a new method. | | Reformat Code | Ctrl + Alt + L | Cmd + Opt + L | Applies style guides to the current file. | | Optimize Imports | Ctrl + Alt + O | Ctrl + Opt + O | Removes unused imports and orders remaining ones. |

Before memorizing specific shortcuts, the user must master the "Search Action" command. This single shortcut renders memorizing menus obsolete. These shortcuts facilitate "coding at the speed of

| Action | Windows / Linux | macOS | Description | | :--- | :--- | :--- | :--- | | | Shift + Shift | Shift + Shift | Press Shift twice. Searches files, actions, symbols, and IDE settings. | | Find Class | Ctrl + N | Cmd + O | Quickly open a specific class file. | | Find File | Ctrl + Shift + N | Cmd + Shift + O | Quickly open any file (non-class). | | Recent Files | Ctrl + E | Cmd + E | Opens a popup list of recently edited/viewed files. |

Shortcuts below are for the Windows / Linux default keymap . Mac users: Replace Ctrl with Cmd and Alt with Option .

| Action | Windows / Linux | macOS | Description | | :--- | :--- | :--- | :--- | | | Ctrl + B / Click | Cmd + B / Click | Jumps to the definition of the symbol under the cursor. | | Go to Implementation | Ctrl + Alt + B | Cmd + Alt + B | Jumps to the concrete implementations of an interface. | | Go to Line | Ctrl + G | Cmd + L | Jumps to a specific line number. | | Navigate Back | Ctrl + Alt + Left | Cmd + [ | Moves the cursor to the previous location in history. |