Move Statement

Move a statement up or down within the same scope.

You can use ⌘⇧↑ (macOS) / Ctrl+Shift+Up Arrow (Windows/Linux), to move a statement up. To move a statement down use ⌘⇧↓ (macOS) / Ctrl+Shift+Down Arrow (Windows/Linux).


Related Resources

Generate constructors and accessor methods
Generate constructors and accessor methods
Quickly generate common code constructs such as Constructors, Getters and Setters.
Expand and Collapse Code
Expand and Collapse Code
Quickly view specific parts of a class by expanding or collapsing code blocks.
Optimize imports
Optimize imports
Remove unused imports from your code with one keyboard shortcut.