Cheatography
https://cheatography.com
A small cheat sheet for IntelliJ on Mac. This will contain my most frequent used shortcuts.
This is a draft cheat sheet. It is a work in progress and is not finished yet.
General / Frequently used
Search everywhere |
Double ⇧ |
Quick fixes |
⌥↩ |
Generate |
⌘N, ⌃↩ |
Extend and Shrink |
⌥↑, ⌥↓ |
Recent files pop-up |
⌘E |
Recent files picker |
⌃⇥ |
Rename |
fn⇧F6 |
Save all |
⌘S |
Run anything |
Double⌃ |
Code folding
Expand / All |
⌘+, ⌘⇧+ |
Collapse / All |
⌘-, ⌘⇧- |
Carat
Add / Remove |
⌥⇧Click |
Clone above |
Double⌥ + Up |
Clone below |
Double⌥ + Down |
Select all |
⌘⌃G |
Showing Panels
Show / hide project |
⌘1 |
Show /hide terminal |
fn⌥F12 |
Show / hide run |
⌘4 |
|
|
Search / Selecting
Select all |
⌃⌘G |
Find / Replace |
⌘F, ⌘R |
Find / Replace in Files |
⇧⌘F, ⇧⌘R |
Extend / Shrink |
⌥↑, ⌥↓ |
Duplicate |
⌘D |
Line split / join |
⌘↩, ⌃⇧J |
Refactoring
Rename |
⇧fnF6 |
Inline |
⌘⌥N |
Extract Method |
⌘⌥M |
Extract Variable |
⌘⌥V |
Extract Field |
⌘⌥F |
Extract Constant |
⌘⌥C |
Extract Parameter |
⌘⌥P |
Refactor file |
⌘⌥L |
Move statement up / down |
⌘⇧↑, ⌘⇧↓ |
Move line up / down |
⌥⇧↑, ⌥⇧↓ |
|