Reformat and rearrange code in editor of IntelliJ IDEA option + command + L https://www.jetbrains.com/help/idea/reformat-and-rearrange-code.html