This content has been marked as final.
Show 4 replies
-
1. Re: spaces versus tabs
camunda Mar 27, 2007 6:18 AM (in response to tom.baeyens)I think every formatting is quite fine, so 2 spaces indent is perfect.
What would be good is, if you just export your Eclipse formatting settings in a XML (Eclipse can do that) and check that in CVS or at least make it available in the Wiki. So everybody working on jBPm can import these settings and formats well. -
2. Re: spaces versus tabs
dmlloyd Mar 27, 2007 7:46 AM (in response to tom.baeyens)"tom.baeyens@jboss.com" wrote:
i'm not a code style fanatic, but it would be nice if we all could use
- spaces instead of tabs
Definitely."tom.baeyens@jboss.com" wrote:
- indentation of 2 spaces
Hm, well I really prefer 4 spaces because with 2 spaces I sometimes have a hard time reading the code. That said, in all cases when I've worked on the current CVS trunk I've used 2 spaces to be consistent with the existing style. But for things that are initially created by myself I've been doing 4 spaces, like jbpm4jsf for example. -
3. Re: spaces versus tabs
kukeltje Mar 27, 2007 8:28 AM (in response to tom.baeyens)funny, I was going to opt for 3.... really I was, no joking....but for the same reason as david. 2 is to little.
-
4. Re: spaces versus tabs
tom.baeyens Mar 27, 2007 8:51 AM (in response to tom.baeyens)the code profile is checked in (2 spaces). if everyone uses spaces for indentation, that is the most important.
if it matters for you, feel free to use another indentation size in your component consistently.