Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] How many spaces of indentation in templates?

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: IKEDA Soji <address@concealed>
  • To: Luc Didry <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-developpers] How many spaces of indentation in templates?
  • Date: Fri, 11 Jan 2019 17:49:23 +0900

Hi,

I’m using 2 spaces for both tt2 elements and HTML elements (and there are
some exception rules when HTML is enclosed by tt2, ...a bit hard to describe).

If another method was agreed, I won’t stick to my method.

2019/01/11 17:21、Luc Didry <address@concealed>のメール:

> Hello,
>
> I plan to correct indentation in the default tt2 template files to
> make them more readable. How many spaces should I use? I saw templates
> with 2 spaces and 4 spaces.
>
> My personal preference is 4 spaces, like in the perl files.
> --
> Luc
> "La route est longue, mais la voie est libre…" https://framasoft.org
>
> Framasoft ne vit que par vos dons (déductibles des impôts). Merci d'avance
> pour votre soutien https://soutenir.framasoft.org
>
>
>
>





Archive powered by MHonArc 2.6.19+.

Top of Page