← Back to team overview

openerp-community team mailing list archive

Re: XML files indent style standard

 

Hello,

I'm in favour of 2 spaces.

A space will always be a space, tab display may vary.
As we do MP and discuss about code trough various tools tabs can 
sometime be confusing.

Regards

Nicolas


Le Thu Nov  7 13:18:27 2013, Peter Langenberg a écrit :
> I vote for the third solutions +1 !
>
> Peter
>
>
> 2013/11/7 Niels Huylebroeck <nh@xxxxxxxxxx <mailto:nh@xxxxxxxxxx>>
>
>     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 <mailto: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 <tel:%2B%2033%20%280%294%2079%2026%2057%2094>
>
>         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 <mailto: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 <tel:%2B32%20%280%29%2093%2095%2098%2090>
>     Web : http://www.agaplan.eu
>
>     _______________________________________________
>     Mailing list: https://launchpad.net/~openerp-community
>     Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~openerp-community
>     More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> _______________________________________________
> 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

--
Nicolas Bessi
Senior ERP consultant
Business Solution technical manager

Camptocamp SA
PSE A
CH-1015 Lausanne
http://openerp.camptocamp.com

Phone:  +41 21 619 10 26
Office: +41 21 619 10 10
Fax:    +41 21 619 10 00
--



Follow ups

References