[Lazarus] Code completation results in ugly indention
Florian Klämpfl
florian at freepascal.org
Fri Aug 19 17:12:42 CEST 2011
Am 19.08.2011 17:10, schrieb Alexander Klenin:
> On Sat, Aug 20, 2011 at 02:07, Florian Klämpfl <florian at freepascal.org> wrote:
>> Am 19.08.2011 17:04, schrieb Alexander Klenin:
>>> It seems that this file uses totally unique indentation rules,
>>> incomatible with the rest of the world ;-)
>>> I'd suggest to turn off auto-indent -- it is not very useful anyway.
>>> Note that auto-indent is NOT the same as code completion,
>>
>> Of course not, but code generated by code completion should be indentend
>> correctly, no?
>>
>>> which is much more important and should work for you.
>>>
>>
>> Well, it works, but as the example shows, it is indented really ugly and
>> practically unusable because it requires a lot of hand work to get the
>> indentation right.
>
> Ah, I did not look close enough -- this is all auto-generated code...
> Indeed, you have a problem ;-)
> Did you consider re-formatting the unit to a more standard rules?
>
It is formatted according to the standard rules of the compiler :) And
no, the formatting rules of the compiler sources won't change :)
More information about the Lazarus
mailing list