[Lazarus] Code completion improved

Martin lazarus at mfriebe.de
Tue Jan 17 01:29:18 CET 2012


On 16/01/2012 23:10, Paul Ishenin wrote:
> Wow. You makes us lazy. To go further your completion code needs to 
> guess what to write in implementation of MySortFunction :) Ideally it 
> would be to auto write implementations on completion of well known 
> procedures as Button1Click or Form1Create ;)


Well actually, talking about automatically writing some code.
There are of course cases where this would make sense.

TFoo = class
private
   TBar: TList
end

Now if one were to create a constructor or destructor (or rather both of 
them), then automatically creating and destroying the list would be nice.

Though this is probably something that requires a dialogue, so one can 
choose which fields to add and which ones not. The constructor or 
destructor would then be created if required.

Or there could be a new key stoke(Actually, the current one would work 
of two), and the cursor would have to be located on TBar.




More information about the Lazarus mailing list