[TxMt] Re: TM2: strange indenting for C++
Christopher Creutzig
christopher at creutzig.de
Wed Jan 25 10:02:37 UTC 2012
On 24.01.12 16:56, Patric Zimmermann wrote:
> Am 24.01.2012 um 16:14 schrieb Christopher Creutzig:
>
>> Hi,
>>
>> the following C++ code is indented as I expect:
>>
>> std::cerr
>> << "a=" << a
>> << ", b=" << b
>> << ", c=" << c
>> << std::endl;
>>
>> Asking TM2, I get it indented as:
>>
>> std::cerr
>> << "a=" << a
>> << ", b=" << b
>> << ", c=" << c
>> << std::endl;
> I'd prefer the second one (the one TM2 is using)...
>
> just my 2 ct.
Not trying to shoot your opinion down or anything, but I'm curious: Why?
The meaning of the line, say, with the c, does not change at all when
the lines for a and b above it are removed. Do you also prefer TM2's
current indenting in this almost identical example?
f(1,
2,
3,
4,
5,
6);
Christopher
More information about the textmate
mailing list