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).

Interested in JVM Development?

call to action image

Moving statements is helpful, but sometimes you just want to move one line!

Learn More


Related Resources

Create an Editor Fold
Create an Editor Fold
Create an editor fold to hide parts of your class which can make it more readable.
Generate Overrides for equals(), hashCode() and toString()
Generate Overrides for equals(), hashCode() and toString()
We can generate the code to override the equals and hashCode methods.
Surround With
Surround With
Surround your code with common programming constructs.