End of Document
The transition from a novice to an expert IntelliJ user is marked by a reliance on keyboard shortcuts over UI interaction. It is recommended that users adopt a "progressive overload" strategy: select three shortcuts from this paper per week and force their usage until they become muscle memory. intellij shortcut cheat sheet
| Action | Windows / Linux | macOS | Description | | :--- | :--- | :--- | :--- | | | Ctrl + Shift + A | Cmd + Shift + A | Opens a search bar to find any IDE command by name. If you forget a shortcut, use this. | End of Document The transition from a novice
| 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. | If you forget a shortcut, use this
Refactoring is where the IDE adds the most value over a standard text editor.