Is there a way to have an IDE fix Checkstyle errors automatically without having to fix each manually?
See Question&Answers more detail:osIs there a way to have an IDE fix Checkstyle errors automatically without having to fix each manually?
See Question&Answers more detail:osIf you are using IntelliJ, you can install the CheckStyle IDEA plugin.
Then import the CheckStyle settings into the editor, and Reformat like normal (Ctrl+Alt+L is default shortcut key).