Move Statement
Move a statement around within your method
You can use ⇧⌘↑ (macOS), or Ctrl+Shift+Up Arrow (Windows/Linux), to move a line up. To move a statement down use ⇧⌘↓ (macOS), or Ctrl+Shift+Down Arrow (Windows/Linux).
This shortcut factors in scope. You cannot move a statement outside of the scope its contained within.