[Lazarus] Extending the IDE auto-coding functionality

Martin Frb lazarus at mfriebe.de
Mon Dec 17 19:14:34 CET 2018

On 17/12/2018 19:07, Graeme Geldenhuys via lazarus wrote:
> No, the difference between what I'm suggesting (how Eclipse works) is
> that I have to manually trigger the suggestion list - be that via a
> shortcut, or a icon in the gutter, or a right-click popup in the
> Messages window.

procedure TForm1.FormCreate(Sender: TObject);
   foo := 1;

unit1.pas(33,3) Error: Identifier not found "foo"

Now I can right click that message in the message window, or the red (!) 
in the gutter:
- Create local variable foo
- Search Identifier
- Show Cody dictionary for "foo"

So the concept is there. IIRC it is called "quick fix".

But yes, there are plenty of solutions that still could be added....

More information about the Lazarus mailing list