[En-Nut-Discussion] Tons of trailing spaces in our source code
Ulrich Prinz
uprinz2 at netscape.net
Fri Oct 15 20:36:11 CEST 2010
Hi Ole!
Yes, great idea, except the Line-Endings. Normally SVN should do that
automatically in the current settings.
But in general there should be tools existing that perform such small
services. So called "code beautifier" can keep indents and brackets
correct aligned and exchange tabs between #define and value by the
defined number of spaces too. They even correct
if( bla ==blubb) to if (bla==blubb) and so on.
Let's first check if there isn't already a tool that is not to powerful
to understand and easy to use.
Best regards
Ulrich
Am 15.10.2010 16:21, schrieb Ole Reinhardt:
> Hi!
>
>> Yipppea! That's one of my wishes for long time: Fight the trailing spaces!
>
> let's use or (if not available) write a "trailing space remover" and
> also "leading tab into four space changer" as well as a "line endings to
> UNIX line ending changer" :)
>
> If you don't mind I could write such a tool and let it iterate over the
> trunk... So we are clean in one checkin.
>
> Any objections?
>
> Bye,
>
> Ole
>
>
>
More information about the En-Nut-Discussion
mailing list