Re: [Clirr-devel] code format
Status: Alpha
Brought to you by:
lkuehne
From: <lak...@t-...> - 2004-06-13 12:57:30
|
Simon Kitching wrote: >Hi Lars, > >Thanks for all the code prettifying :-). > >I'll try to run "maven checkstyle" before doing future checkins. > > > Thanks, that would be great. >Is there an option somewhere to automatically fix checkstyle problems >(he asks hopefully)? > > > Don't know, maybe some Checkstyle Eclipse plugin provide Quickfixes... I fixed most of the layout problems in my IDE by simply selecting the code and calling the "re-format code" function. The easiest way to handle checkstyle problems is probably not to introduce them in the first place. Configure your editor to strip trailing whitespace on save, use code templates (like "loop over an array") that have whitespace at the right places, etc. That should leave you with very few errors, and those usually cannot be fixed automatically... >And by the way, as you are obviously online right now, is there an IRC >channel we can chat on? > > > I'd love to, but - believe it or not - I have never used IRC (although I am on Linux so I probably have all software in place), so I'd have to do some reading first. Is there an IRC channel you are usually connected to (hope this is the right terminology for IRC), and if so at which times of the day? Lars |