Rearranging Code in IntelliJ IDEA
How you can rearrange code in your classes and projects
Introduction
This tutorial will cover rearranging code at a class and project level.
Moving Statements Around
Moving a statements up and down within their scope
Moving Lines Around
Moving a line, paragraph or selection up and down
Example of Moving Code Around
Invoking Rearrange Code on a Class and Viewing the results
Summary
Summary and shortcuts we used