15.2 Override using the DialogYou can use the Override Methods Dialog to quickly extend (or implement) one or more like-inherited methods. Place the Editor cursor inside a unit or struct body, then
right click > Source > Override Methods to open the dialog. Alternatively, you can hit
Ctrl + Space and select
Override Methods.
Select the methods you want to extend and their extend type:
is also,
is first,
is only or
is (
2)
and press
OK.
Use the checkbox (
1)
to see only
empty or
undefined methods.
The empty body of the extended methods will be placed inside the struct/unit body at the cursor position:
Note: A TODO reminder is automatically inserted in each generated method stub, and shows up in the
Tasks View.
|