Move statement up: the shortcut in 3 apps
On Mac it is usually Shift+Cmd+↑ (2 of 3 apps); on Windows it is usually Ctrl+Shift+↑ (3 of 3 apps); on Linux it is usually Ctrl+Shift+↑ (3 of 3 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| IntelliJMove the statement up | ShiftCmd↑ | CtrlShift↑ | CtrlShift↑ |
| PyCharmMove the statement up | ShiftCmd↑ | CtrlShift↑ | CtrlShift↑ |
| WebStormMove the statement up | ShiftCmd↑ | CtrlShift↑ | CtrlShift↑ |
How the apps compare
- Mac: Shift+Cmd+↑ in PyCharm and WebStorm; Cmd+Shift+↑ in IntelliJ.
- Windows: every app here uses CtrlShift↑.
- Linux: every app here uses CtrlShift↑.
Learn it by pressing it: IntelliJ shortcuts practice, PyCharm shortcuts practice or WebStorm shortcuts practice.