You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2014/02/07 22:48:58 UTC

Tabs for indentation?

Thiago, I think you've been submitting code with tabs for indentation;
spaces are preferred.


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Re: Tabs for indentation?

Posted by Dragan Sahpaski <dr...@gmail.com>.
Ah yes. Thanks Bob.

Cheers,
Dragan Sahpaski


On Sat, Feb 8, 2014 at 3:35 PM, Bob Harner <bo...@gmail.com> wrote:

> I just added a mention of spaces-over-tabs to
> http://tapestry.apache.org/developer-bible.html, which is the current
> place for such rules.
>
> On Sat, Feb 8, 2014 at 9:11 AM, Dragan Sahpaski
> <dr...@gmail.com> wrote:
> > Maybe it's good to make a separate page (probably under
> > http://tapestry.apache.org/community.html) that explains the preferred
> > source code formatting settings? I'm sure lot's of the patch contributors
> > don't know the spaces vs tabs preference and other stuff like brackets in
> > new lines, line width etc.
> >
> > Cheers,
> > Dragan Sahpaski
> >
> >
> > On Sat, Feb 8, 2014 at 2:49 PM, Thiago H de Paula Figueiredo <
> > thiagohp@gmail.com> wrote:
> >
> >> On Fri, 07 Feb 2014 19:48:58 -0200, Howard Lewis Ship <hlship@gmail.com
> >
> >> wrote:
> >>
> >>  Thiago, I think you've been submitting code with tabs for indentation;
> >>> spaces are preferred.
> >>>
> >>
> >> Hi!
> >>
> >> I'm no fan of using spaces for indentation, but, in Tapestry code, I
> >> always try to use spaces. Of course, sometimes some tabs slips. Commit
> >> 5b3d81a replaces all tabs in Tapestry code, including many in files I've
> >> never committed, by four spaces.
> >>
> >> --
> >> Thiago H. de Paula Figueiredo
> >> Tapestry, Java and Hibernate consultant and developer
> >> http://machina.com.br
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: dev-help@tapestry.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

Re: Tabs for indentation?

Posted by Bob Harner <bo...@gmail.com>.
I just added a mention of spaces-over-tabs to
http://tapestry.apache.org/developer-bible.html, which is the current
place for such rules.

On Sat, Feb 8, 2014 at 9:11 AM, Dragan Sahpaski
<dr...@gmail.com> wrote:
> Maybe it's good to make a separate page (probably under
> http://tapestry.apache.org/community.html) that explains the preferred
> source code formatting settings? I'm sure lot's of the patch contributors
> don't know the spaces vs tabs preference and other stuff like brackets in
> new lines, line width etc.
>
> Cheers,
> Dragan Sahpaski
>
>
> On Sat, Feb 8, 2014 at 2:49 PM, Thiago H de Paula Figueiredo <
> thiagohp@gmail.com> wrote:
>
>> On Fri, 07 Feb 2014 19:48:58 -0200, Howard Lewis Ship <hl...@gmail.com>
>> wrote:
>>
>>  Thiago, I think you've been submitting code with tabs for indentation;
>>> spaces are preferred.
>>>
>>
>> Hi!
>>
>> I'm no fan of using spaces for indentation, but, in Tapestry code, I
>> always try to use spaces. Of course, sometimes some tabs slips. Commit
>> 5b3d81a replaces all tabs in Tapestry code, including many in files I've
>> never committed, by four spaces.
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Tapestry, Java and Hibernate consultant and developer
>> http://machina.com.br
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: dev-help@tapestry.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Tabs for indentation?

Posted by Dragan Sahpaski <dr...@gmail.com>.
Maybe it's good to make a separate page (probably under
http://tapestry.apache.org/community.html) that explains the preferred
source code formatting settings? I'm sure lot's of the patch contributors
don't know the spaces vs tabs preference and other stuff like brackets in
new lines, line width etc.

Cheers,
Dragan Sahpaski


On Sat, Feb 8, 2014 at 2:49 PM, Thiago H de Paula Figueiredo <
thiagohp@gmail.com> wrote:

> On Fri, 07 Feb 2014 19:48:58 -0200, Howard Lewis Ship <hl...@gmail.com>
> wrote:
>
>  Thiago, I think you've been submitting code with tabs for indentation;
>> spaces are preferred.
>>
>
> Hi!
>
> I'm no fan of using spaces for indentation, but, in Tapestry code, I
> always try to use spaces. Of course, sometimes some tabs slips. Commit
> 5b3d81a replaces all tabs in Tapestry code, including many in files I've
> never committed, by four spaces.
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

Re: Tabs for indentation?

Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Fri, 07 Feb 2014 19:48:58 -0200, Howard Lewis Ship <hl...@gmail.com>  
wrote:

> Thiago, I think you've been submitting code with tabs for indentation;
> spaces are preferred.

Hi!

I'm no fan of using spaces for indentation, but, in Tapestry code, I  
always try to use spaces. Of course, sometimes some tabs slips. Commit  
5b3d81a replaces all tabs in Tapestry code, including many in files I've  
never committed, by four spaces.

-- 
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org