score:1

Accepted answer

here are some advantages for using checkstyle:

  • portable between ides. if you decide to use intellij later, or you have a team using a variety of ides, you still have a way to enforce consistency.
  • better external tooling. it's much easier to integrate checkstyle with your external tools since it was really designed as a standalone framework. you can plug into your scm as a pre-commit hook, or into your build tool, quite easily. using eclipse style convention you would need to write or locate a plugin to do the same thing.
  • ability of creating your own rules. eclipse defines a large set of styles, but checkstyle has more, and you can add your own custom rules.

the advantage of eclipse formatter/styler, of course, is that it's already built into the ide, so if your team is already standardized on eclipse you can get everyone up and running very quickly. but using checkstyles gives you more options.


Related Query

More Query from same tag