intellij reformat code before commit refactors complete file of just the changes code example Example: reformat intellij Ctrl + Alt + L