[Lazarus] Code completation results in ugly indention

Flávio Etrusco flavio.etrusco at gmail.com
Fri Aug 19 21:22:24 CEST 2011


On Fri, Aug 19, 2011 at 12:04 PM, Alexander Klenin <klenin at gmail.com> wrote:
> 2011/8/19 Florian Klaempfl <florian at freepascal.org>:
>> I just tried another time the code completation in lazarus for a class,
>> however it resulted again in a pretty bad indention, see attachment. I
>> played with various options and things but nothing helped
>> (procedure/constructor should be at column 4 as it is typically in the
>> compiler sources, begin/end at column 6). What is wrong/how can I tweak it?
>
> 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,
> which is much more important and should work for you.
>

Yeah, auto-indent breaks in much simpler cases already :-(
Florian, what do you think should be the ruler/pivot in that case? The
class comment? The last code/class before? Whole file evaluation?

Best regards,
Flávio




More information about the Lazarus mailing list