On Sat, 10 Oct 2009, Alexander Klenin wrote:

On Sat, Oct 10, 2009 at 00:49, Henry Vermaak <[email protected]> wrote:
2009/10/9 Graeme Geldenhuys <[email protected]>:
2009/10/9 Michael Van Canneyt <[email protected]>:

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.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to