In Shindig we created a code style, although its made patching easier, it did generate discussion. It was basically java standard, with some mods, eg 2 spaces rather than tabs, no trailing spaces on lines and a bunch of other things. I can share these if you like (they are in the Shindig svn), but I am happy either way. I don't really want to start producing patches that are a pain to apply because of trivial formatting differences.
Ian

On 22 Apr 2009, at 16:55, Bertrand Delacretaz wrote:

On Wed, Apr 22, 2009 at 5:49 PM, Ian Boston <[email protected]> wrote:
Is there a code style guide for sling, or better still an eclipse config and
import order.
It looks like standard java style but I am not sure about the space policy...

I'm not sure if we're sure either ;-)

I use two spaces and no tabs for indents, and for the rest all the
default Eclipse settings.

-Bertrand

Reply via email to