Operation | PC | MAC |
---|---|---|
Auto-indent lines | ctrl + alt + I | control + option + I |
Extract Method | ctrl + alt + M | command + option + M |
Go to declaration | ctrl + B | command + B |
Rename | shift + F6 | shift + F6 |
Expand Selection | ctrl + W | option + command + arrow(up) |
Move | F6 | F6 |
Extract Variable | ctrl + alt + V | command + option + V |
Extract Parameter | ctrl + alt + P | command + option + P |
Move line | alt + shift + up/down | command + shift + up/down |
Mer kommandon finns exempelvis här: https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf