Why don't we make this part of the code formatting guide? It's in the codebase, 
so we could just as well regard it as code.

Angelo

On Nov 2, 2010, at 8:30 AM, Bram de Kruijff wrote:

>>> Keep XML at 2 spaces?
>> +1 cause pom files can nest pretty deep
>> +1 for 2 spaces, better for xml files with many nested elements
> 
> Ok, 2 spaces it is. I have documented this on the WIKI under
> http://amdatu.org/confluence/display/Amdatu/XML+formatting+conventions
> 
> Regards,
> Bram
> 
> On Mon, Nov 1, 2010 at 9:07 AM, Ivo Ladage-van Doorn
> <Ivo.Ladage-vanDoorn at gxsoftware.com> wrote:
>> +1 for 2 spaces, better for xml files with many nested elements
>> 
>> -----Original Message-----
>> From: amdatu-developers-bounces at amdatu.org 
>> [mailto:amdatu-developers-bounces at amdatu.org] On Behalf Of Bram de Kruijff
>> Sent: vrijdag 29 oktober 2010 15:44
>> To: amdatu-developers at amdatu.org
>> Subject: Re: [Amdatu-developers] XML formatter style convention
>> 
>>> Keep XML at 2 spaces?
>> 
>> +1 cause pom files can nest pretty deep
>> 
>>> Format XML to 4 spaces?
>> 
>> grz
>> Bram
>> 
>> On Fri, Oct 29, 2010 at 2:57 PM, Bram de Kruijff <bdekruijff at gmail.com> 
>> wrote:
>>> Hi all,
>>> 
>>> I'm working through some poms and noticed most (not all) use an
>>> indentation 2 spaces. Now the WIKI does not explicitely states a
>>> convention for XML files, although the IDE integration sections
>>> instructs how to set it to 4 spaces for the XML editor as well. To be
>>> honest I do not really care whether we use 2 or 4 spaces as long as it
>>> is consistent so I can hit CTRL-f without getting formatting diffs :)
>>> 
>>> @see http://www.amdatu.org/confluence/display/Amdatu/Java+Coding+Style+Guide
>>> @see 
>>> http://www.amdatu.org/confluence/display/Amdatu/Coding+Style+IDE+integration
>>> 
>>> Your voting options:
>>> 
>>> Keep XML at 2 spaces?
>>> Format XML to 4 spaces?
>>> 
>>> Regards,
>>> Bram
>>> 
>> _______________________________________________
>> Amdatu-developers mailing list
>> Amdatu-developers at amdatu.org
>> http://lists.amdatu.org/mailman/listinfo/amdatu-developers
>> 
>> _______________________________________________
>> Amdatu-developers mailing list
>> Amdatu-developers at amdatu.org
>> http://lists.amdatu.org/mailman/listinfo/amdatu-developers
>> 
> _______________________________________________
> Amdatu-developers mailing list
> Amdatu-developers at amdatu.org
> http://lists.amdatu.org/mailman/listinfo/amdatu-developers


Reply via email to