[Lazarus] Feature Request: Override/Implement methods

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 8 02:02:30 CEST 2020


On Thu, 8 Oct 2020 01:36:23 +0200
Martin Frb via lazarus <lazarus at lists.lazarus-ide.org> wrote:

> On 08/10/2020 01:16, Graeme Geldenhuys via lazarus wrote:
> > Hi,
> >
> > I've pulled the latest Lazarus code and went through all the menu
> > items I could find but could see what I was looking for. Does
> > Lazarus have a feature eg: (Editor -> Source [popup menu] ->
> > Override/Implement Methods) so the IDE could stub out say missing
> > methods from a Interface I listed in the class definition, or allow
> > to override methods from parent classes? 
> 
> AFAIK Closest we have is; Refactor > Abstract Methods.
> 
> Lists abstracts methods that are not overriden in this or parent
> class (i.e that would still be abstract in this class)

As for overrides:
Insert a new line in the class declaration, Ctrl+Space, select the
parent method. This will create an override.

Mattias



More information about the lazarus mailing list