[Lazarus] Code navigation (was Flex/RIA Framework)
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Feb 9 18:42:19 CET 2010
On Tue, 09 Feb 2010 11:48:42 -0500
Lee Jenkins <lee at datatrakpos.com> wrote:
> Mattias Gaertner wrote:
> > On Tue, 09 Feb 2010 10:21:39 -0500
> > Lee Jenkins <lee at datatrakpos.com> wrote:
> >
> >> [...]
> >> My personal favorite is the Auto Drop Down for code insite which shows relevant
> >> suggestions for built in types as well as declared variables, etc. Makes typing
> >> so much faster.
> >
> > Can you give some examples for this feature?
> >
> > Mattias
> >
>
> Its like C# editor in VS if you've ever used that. Basically monitors your key
> strokes for the first few characters of typing each word in your code. If I
> type in "tst" then the code insite suggestion box comes up and shows me
> TStrings, TStringList, etc. and all I have to do is hit Tab or Enter and the
> chosen keyword is entered automatically.
>
> The CnWizard version is pretty smart and seems to take into account context and
> recent use of keywords. You can also set the number of characters that must be
> input before suggestions will popup.
>
> I posted about it once before I think. Not only is it a time saver for me, but
> it promotes better variable and type naming since I don't have to type out
> TMyAbstractComponent, I just type "TMy", the suggestion box pops up, I hit
> enter/tab and keep on rolling.
The Lazarus completion box pops up automatically after typing '.',
although I prefer Ctrl+Space.
I found the "popup after some characters" annoying, so I didn't
implement it. Feel free to provide a patch if you want that feature.
Mattias
More information about the Lazarus
mailing list