[Lazarus] Feature Request: Override/Implement methods

Marc Weustink marc at dommelstein.nl
Thu Oct 8 09:09:28 CEST 2020



On 8-10-2020 02:02, Mattias Gaertner via lazarus wrote:
> 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.

DUH... learning every day.

Marc


More information about the lazarus mailing list