DVT IDE for VS Code SystemVerilog User Guide
Rev. 24.1.12, 12 June 2024

7.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.