directory-kerby mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng, Kai" <kai.zh...@intel.com>
Subject RE: Eclipse format and cleanup configurations
Date Fri, 22 Apr 2016 06:51:30 GMT
Yeah, you're right. I will do that.

Regards,
Kai

-----Original Message-----
From: Emmanuel Lecharny [mailto:elecharny@apache.org] 
Sent: Friday, April 22, 2016 2:25 PM
To: kerby@directory.apache.org
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 <kai.zheng@intel.com> 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:gerardg@prodentity.com <javascript:;>]
> Sent: Friday, April 22, 2016 1:47 AM
> To: Apache Directory Developers List <dev@directory.apache.org 
> <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
Mime
View raw message