Override Using Command Palette

Place your cursor inside a class and then use the DVT: Override Methods… command.

Select the methods you want to override. You can filter out the non-virtual methods by toggling the button on the right side at the top of the quick pick. After selecting the methods, choose one of the following insertion options:

  • Implementation The empty body of the overridden functions or tasks will be placed inside the class body at the cursor position.

  • Extern prototype and implementation The overridden methods extern prototype will be placed at the cursor position and the implementation outside the class body.

../../_images/override_functions_from_command_palette.gif