You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Raymond Feng <en...@gmail.com> on 2006/09/27 17:38:21 UTC

Is there a checkstyle-compliant java code formatter for Eclipse?

Hi,

Does any of you happen to know there is a checkstyle-complaint java code formatter available for Eclipse? I'm being burnt to maually format the code so that it can pass the checkstyle audit espcially for the identations. I have tried to customize the template from Tuscany SVN but I couldn't get some of the styles such as array initializer suitable for checkstyle.

Some of you told me that the template in IDEA formats the code correctly, maybe the last thing I can do is to use IDEA as a formatter :-)?

Thanks,
Raymond

Re: Is there a checkstyle-compliant java code formatter for Eclipse?

Posted by Jim Marino <jm...@myromatours.com>.
:-) I can't believe Eclipse doesn't know how to do  
indentations...there has got to be a way to configure it properly.   
Raymond, what specifically does not work? Dan has never complained  
about Eclipse so maybe he could shed some light on this as well?

Jim

On Sep 27, 2006, at 8:55 AM, ant elder wrote:

> Donning a very very thick flame proof suit...or we could relax the
> formatting requirements so that the eclipse template works ok :)
>
>   ...ant
>
> (now runs to hide)
>
> On 9/27/06, Raymond Feng <en...@gmail.com> wrote:
>>
>> Hi,
>>
>> Does any of you happen to know there is a checkstyle-complaint  
>> java code
>> formatter available for Eclipse? I'm being burnt to maually format  
>> the code
>> so that it can pass the checkstyle audit espcially for the  
>> identations. I
>> have tried to customize the template from Tuscany SVN but I  
>> couldn't get
>> some of the styles such as array initializer suitable for checkstyle.
>>
>> Some of you told me that the template in IDEA formats the code  
>> correctly,
>> maybe the last thing I can do is to use IDEA as a formatter :-)?
>>
>> Thanks,
>> Raymond
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: Is there a checkstyle-compliant java code formatter for Eclipse?

Posted by ant elder <an...@gmail.com>.
Donning a very very thick flame proof suit...or we could relax the
formatting requirements so that the eclipse template works ok :)

   ...ant

(now runs to hide)

On 9/27/06, Raymond Feng <en...@gmail.com> wrote:
>
> Hi,
>
> Does any of you happen to know there is a checkstyle-complaint java code
> formatter available for Eclipse? I'm being burnt to maually format the code
> so that it can pass the checkstyle audit espcially for the identations. I
> have tried to customize the template from Tuscany SVN but I couldn't get
> some of the styles such as array initializer suitable for checkstyle.
>
> Some of you told me that the template in IDEA formats the code correctly,
> maybe the last thing I can do is to use IDEA as a formatter :-)?
>
> Thanks,
> Raymond
>