I am learning IntelliJ shortcuts and here are the keymaps I’ve taken notes on:
Action | Shortcut |
---|---|
Open project view | Alt + 1 |
Run the project | Shift + F10 |
Select word under caret | Ctrl + W |
Press again to select the whole string | Ctrl + W (press again) |
Press again to include quotes | Ctrl + W (press again) |
Duplicate line or selection | Ctrl + D |
Delete line or selection | Ctrl + X |
Move line above/below | Alt + Shift + Up/Down |
Shift whole method above/below | Ctrl + Shift + Up/Down |
Collapse a code block | Ctrl + ”-“ |
Expand a code block | Ctrl + ”=“ |
Collapse all code blocks | Ctrl + Shift + ”-“ |
Expand all code blocks | Ctrl + Shift + ”=“ |
Extract code block to method | Ctrl + Alt + M |
Preview documentation | Ctrl + Q |
Search for classes | Ctrl + N |
Search for files | Ctrl + Shift + N |
Open file structure | Ctrl + F12 |
Jump to implementation | Ctrl + Alt + B |