openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #03868
Re: XML files indent style standard
-
To:
openerp-community@xxxxxxxxxxxxxxxxxxx
-
From:
Stefan <stefan@xxxxxxxx>
-
Date:
Thu, 07 Nov 2013 10:43:52 +0100
-
In-reply-to:
<CAA50gnF=hKHdURt+3ZzMapwQ8eR6OoN5jgYKWrh4rRgcjn5DCg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
On 11/07/2013 10:21 AM, 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
Hi,
As the one voting for 4 spaces, my argument was that this seems to be
the defacto standard in the official OpenERP code (even if violated at
times). Can someone from OpenERP SA confirm that this is an explicit
guideline internally? I think it would be very wise not to deviate from
that then, except if OpenERP SA would be open to switch for new code as
a smaller tab width does make for more readable code.
Cheers,
Stefan.
References