Re: CheckStyle to Eclipse formatter
"Oliver Burn" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
I go through a similar manual process: - Define the coding standard - Define a Checkstyle configuration to enforce the standard - Setup IDE formatters to comply Cheers, Oliver On Fri, Jun 27, 2008 at 03:31, Emerson Farrugia <[email protected]> wrote: > The formatter definition controls how Eclipse formats your code. The > Checkstyle configuration tells Checkstyle what conventions to look for when > checking your code. You need both, no? > > In our case, we went through the Checkstyle options to determine which > checks we wanted and which we didn't, and wrote our Checkstyle configuration > file accordingly. We then wrote an Eclipse formatter definition which > formats code in a manner compliant with the Checkstyle configuration. It was > a manual process. > > > > 2008/6/26 Lewis, Eric <[email protected]>: > > Hi >> >> I'm looking at ways to check our code during our nightly build. Until >> now the style wasn't checked, but we do have an Eclipse formatter >> definition which is used by everybody. However, CheckStyle would make >> the automatic checking easy. >> >> Since our format differs from Sun's coding guidelines, the best thing >> would be to generate either the CheckStyle configuration or the Eclipse >> formatter definition. >> I've looked around the 'net for a while, but haven't found anything... >> Has anybody had the same problem and found a solution? >> >> Best regards, >> Eric >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Checkstyle-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/checkstyle-user >> > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user