[Lazarus] Code completation results in ugly indention
Alexander Klenin
klenin at gmail.com
Fri Aug 19 17:10:26 CEST 2011
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?
--
Alexander S. Klenin
More information about the Lazarus
mailing list