Exercise for Refactoring code from my SE course at DHBW Karlsruhe
Since IntelliJ was used for refactoring, the following shortcuts proved useful:
- Extract selection to a local variable: (Ctrl + Alt + V / Cmd + Opt + V )
- Extract selection to a field/property: (Ctrl + Alt + F / Cmd + Opt + F)
- Extract selection to a method: (Ctrl + Alt + M / Cmd + Opt + M)
- Inline Functions: (Ctrl + Alt + N / Cmd + Opt + N)
- Move to Next or Previous cursor location: (Ctl + Alt + ← or → / Cmd + Opt + ← or →)
- Code generation: (Alt + Insert / Cmd + N)
- Renaming variables, methods, classes, etc: (Ctrl + Alt + R / Shift + F6)
- Refactor this: (Ctrl+Alt+Shift+T / Ctrl + T)