+1 for 2 spaces, better for xml files with many nested elements

-----Original Message-----
From: amdatu-developers-bounces at amdatu.org 
[mailto:[email protected]] 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

Reply via email to