directory-dev 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 Thu, 21 Apr 2016 21:24:13 GMT
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]
Sent: Friday, April 22, 2016 1:47 AM
To: Apache Directory Developers List <dev@directory.apache.org>
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

--


Mime
View raw message