Using checkstyle to format code

I just installed checkstyle in eclipse. It works by creating corresponding errors in that part of the screen where you place breakpoints. However, I'm just wondering if it will really format the code for you and really add empty comments, etc., so that you can fill them out?

If so, how do you do it. Thanks

+2
source share
2 answers

No, checkstyle does not format the code, it only identifies violations of different types. You can configure Jalopy to format according to your checkstyle configuration.

+4
source
+1

All Articles