Life is too short to format code manually. Why not let IntelliJ IDEA reformat your code in an automated way, based on the requirements specified in your Code Style settings? You can reformat a single piece of code, the whole file, group of files, a directory, and a module. You can also exclude parts of code or some files from the reformatting.
For more information, go to:
Download IntelliJ IDEA:
*Author: Breandan Considine
Category: Editing and Working with Code