Move Line

Move a line throughout your class, but watch out for errors!

Press ⌥⇧↑ (macOS) / Alt+Shift+Up Arrow (Windows/Linux), to move a line up. To move a line down use ⌥⇧↓ (macOS) / Alt+Shift+Down Arrow (Windows/Linux).

This shortcut does not factor in scope. You can move lines in and out of scope.

Interested in JVM Development?

call to action image

As well as moving a line you can move a whole statement in the same scope!

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.