Yeah, you're right. I will do that.

Regards,
Kai

-----Original Message-----
From: Emmanuel Lecharny [mailto:[email protected]] 
Sent: Friday, April 22, 2016 2:25 PM
To: [email protected]
Subject: Re: Eclipse format and cleanup configurations

You can define and export a formatter for eclipse. This is what we did for 
apacheds : it's vonvenient for those who want to propose patches !

Le jeudi 21 avril 2016, Zheng, Kai <[email protected]> a écrit :

> Hi Gerard,
>
> We don’t have such a format file, but it looks a good idea to document 
> the format somewhere.
> AFAIK, the coding style we’re following is:
>
> 1.       Over classical SUN Java coding style;
>
> 2.       4 spaces instead of a tab;
>
> 3.       4 spaces indent;
>
> 4.       120 chars width limit in a line, but mostly preferred, 80 chars;
>
> 5.       Don’t reformat if you don’t change the file; only do it for the
> part you’re changing;
>
> 6.       No star(*) in imports.
>
> It’s just some loose rules often seen in many ASF projects. In my 
> experience, I keep some typical settings in my IDE (I’m an old Eclipse 
> fun, but now prefer IDEA) and switch among them according to projects.
>
> Regards,
> Kai
>
> From: Gerard Gagliano [mailto:[email protected] <javascript:;>]
> Sent: Friday, April 22, 2016 1:47 AM
> To: Apache Directory Developers List <[email protected] 
> <javascript:;>>
> Subject: Eclipse format and cleanup configurations
>
> Hi,
>
> We’re making modifications on Kerby and keep running into problems 
> with the saved formatting.  Is there a current Eclipse copy of 
> configurations (the one I located is waaaay different than the style used).
>
> A reference to it’s location would be greatly appreciated.
>
> Thanks!
> Gerard
>
> --
>
>
>

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to