[Lazarus] Class completion in reverse - remove method implementation

Michael Van Canneyt michael at freepascal.org
Fri Oct 9 17:16:52 CEST 2009



On Sat, 10 Oct 2009, Alexander Klenin wrote:

> On Sat, Oct 10, 2009 at 00:49, Henry Vermaak <henry.vermaak at gmail.com> wrote:
>> 2009/10/9 Graeme Geldenhuys <graemeg.lists at gmail.com>:
>>> 2009/10/9 Michael Van Canneyt <michael at freepascal.org>:
>>>>
>>>> Simply removing a method with empty implementation if the header is in the
>>>> published section would also be nice. A misclick in the OI causes an empty
>>>> method to be generated. Deleting these automatically on compilation/save
>>>> would be a nice thing. (as Delphi does, incidentally)
>>>
>>> Somehow I thought that was already added....?
>>
>> Yes, you can do this via right click -> refactoring -> show empty
>> methods.  Would be nice to have this happen automatically, though.
>
> Options->Editor->Automatic features->Auto remove empty methods

Duh !

I should open this dialog from time to time to see if something new appeared :)

Thanks for the tip...

Michael.


More information about the Lazarus mailing list