1 |
Dnia 2015-06-06, o godz. 09:26:08 |
2 |
"Justin Lecher (jlec)" <jlec@g.o> napisał(a): |
3 |
|
4 |
> Can we get an agreement on how we are indenting metadata.xml? |
5 |
> |
6 |
> I like to properly format and indent metadata.xml, but without having |
7 |
> an agreement or policy on the indention, I make unhappy by choosing |
8 |
> the wrong. |
9 |
> |
10 |
> The two options which are already suggested are |
11 |
> |
12 |
> * 2 spaces |
13 |
> * single tab |
14 |
> |
15 |
> So what should it be? |
16 |
|
17 |
A tab. With one-line element contents being inline, while multi-line in |
18 |
deeper indented block, i.e.: |
19 |
|
20 |
...><maintainer> |
21 |
...>...><name>Foo Bar</name> |
22 |
...>...><email>bar@×××××××.com</email> |
23 |
...></maintainer> |
24 |
...><longdescription> |
25 |
...>...>Some random text. Possibly spanning multiple lines. |
26 |
...>...>Like this. |
27 |
...></longdescription> |
28 |
|
29 |
|
30 |
-- |
31 |
Best regards, |
32 |
Michał Górny |