DVT IDE for VS Code SystemVerilog User Guide
Rev. 22.1.23, 16 August 2022

6.6 Generate Setters and Getters Using Autocomplete

Type the name of a field inside a class and then trigger Content Assist. Getters and setters that are available to implement are preceded by the "Generate setter and getter" keyword.

The adjacent proposal tooltip includes information about the action that will be performed.

Upon choosing the field, the corresponding setter and getter method will be generated at the cursor's location.