[Lazarus] Automatic identifier completion
Darius Blaszyk
dhkblaszyk at gmail.com
Tue Aug 20 18:48:10 CEST 2019
Hi!
Attached a (still) naive patch that implements automatic completion upon
keypress. It's already giving me a big boost in productivity so I thought I
might share it here. It would be good to make the identifier invocation a
bit smarter. For instance I would like to prevent invocation in case the
word is part of a string or comment. Also it should auto hide after the
first character gets deleted by backspace. Any tips or hints how to use the
codetools to get the required information is appreciated!
Rgds, Darius Blaszyk
On Fri, Aug 16, 2019 at 10:55 PM Martin Frb via lazarus <
lazarus at lists.lazarus-ide.org> wrote:
> On 16/08/2019 19:07, Darius Blaszyk via lazarus wrote:
> > Hi,
> >
> > I know about code completion in the IDE and it works perfectly!
> > However, to invoke it I need to press CRTL-space every time which is
> > somewhat cumbersome. Is there a setting in the IDE that would invoke
> > completion automatically on keypress?
> >
> It can auto invoke after you enter a dot "form1."
> But otherwise not.
>
> See https://bugs.freepascal.org/view.php?id=33054
> --
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190820/a898c58a/attachment.html>
More information about the lazarus
mailing list