Rearranging Code in IntelliJ IDEA
How you can rearrange code in your classes and projects
![Introduction](/guide/assets/thumbnail-00bd2d1c.png)
Introduction
This tutorial will cover rearranging code at a class and project level.
![Moving Statements Around](/guide/assets/thumbnail-bf64928c.png)
Moving Statements Around
Moving a statements up and down within their scope
![Moving Lines Around](/guide/assets/thumbnail-62f54e2a.png)
Moving Lines Around
Moving a line, paragraph or selection up and down
![Example of Moving Code Around](/guide/assets/thumbnail-141b3037.png)
Example of Moving Code Around
Invoking Rearrange Code on a Class and Viewing the results
![Summary](/guide/assets/thumbnail-5e269aec.png)
Summary
Summary and shortcuts we used