Override Using Command Palette

Place your cursor inside a unit or struct body and then use the DVT: Override Methods… command.

Select the methods you want to override.

../../_images/e_override_from_command_palette_methods_list.png

You can filter out the non‑empty and defined methods by toggling the button on the right side at the top of the quick pick.

../../_images/e_override_from_command_palette_filter_button.png

After selecting the methods, choose one of the following insertion options:

  • is also

  • is first

  • is only

  • is

../../_images/e_override_from_command_palette_insert_options.png

The empty body of the extended methods will be placed inside the struct/unit body at the cursor position:

../../_images/e_override_from_command_palette_insert_result.png