Re: [Flex-devel] Bad source code formatting in flex sources
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Aaron S. <aa...@se...> - 2008-10-08 17:38:07
|
I noticed this, too, but didn't want to disrupt the code too much. Will is the maintainer, and John was the last most active coder -- any thoughts on this? Aaron On Oct 8, 2008, at 7:25 AM, Joe Krahn wrote: > I noticed that most of the code uses tabs instead of spaces, but a lot > of code seems to use spaces for indentation that aligns with a tabstop > size of 4. I see that this is actually due to a Vim hint placed at the > bottom of Flex's source files that includes "expandtabs tabstop=4". > > So, this line results in vim users (including myself) to slowly > corrupt > the formatting style, which is unexpanded tabs. I like an indentation > level of 4 spaces with expandtabs, but I think it is better to keep > tab > stops at the default of 8. Either way is fine with me, as long as it > is > consistent. (It would be a lot worse if this was Python source.) > > Joe Krahn > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Flex-devel mailing list > Fle...@li... > https://lists.sourceforge.net/lists/listinfo/flex-devel |