Reformat code

IntelliJ IDEA keyboard shortcut

Ctrl + Alt + L

Press Ctrl + Alt + L to reformat code.

Practice this shortcut All IntelliJ IDEA shortcuts