← Back to team overview

openerp-community team mailing list archive

Re: XML files indent style standard

 

I vote for the third solutions +1 !

Peter


2013/11/7 Niels Huylebroeck <nh@xxxxxxxxxx>

> [image: Inline afbeelding 1]
>
> To be that third guy, I personally prefer tabs because they make this
> argument moot. It is then up to your editor's configuration to display it
> as wide/narrow as you like.
>
>
>
> 2013/11/7 Alexandre Fayolle <alexandre.fayolle@xxxxxxxxxxxxxx>
>
>> On 07/11/2013 10:21, Yannick Vaucher wrote:
>> > Dear Community,
>> >
>> > I'm launching a little vote for community code conventions as Pedro
>> > suggested here:
>> >
>> >
>> https://code.launchpad.net/~camptocamp/margin-analysis/7.0-port-product_historical_margin-xml-retab-yvr/+merge/190350
>> > <
>> https://code.launchpad.net/%7Ecamptocamp/margin-analysis/7.0-port-product_historical_margin-xml-retab-yvr/+merge/190350
>> >
>> >
>> > The question to answer is what do we want as a standard for indent
>> > style in XML files?
>> >
>> > So far in comments of the previous MP votes are the following:
>> >
>> >  * 2 spaces: 2
>> >  * 4 spaces: 1
>> >
>>
>> I personnally favor 2 spaces for xml files, which is a common standard
>> (e.g. http://google-styleguide.googlecode.com/svn/trunk/xmlstyle.html).
>>
>>
>> --
>> Alexandre Fayolle
>> Chef de Projet
>> Tel : + 33 (0)4 79 26 57 94
>>
>> Camptocamp France SAS
>> Savoie Technolac, BP 352
>> 73377 Le Bourget du Lac Cedex
>> http://www.camptocamp.com
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openerp-community
>> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openerp-community
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> --
> Niels Huylebroeck
> Lead Architect   --   Agaplan
> Tel. : +32 (0) 93 95 98 90
> Web : http://www.agaplan.eu
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References