Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TypeScript's Getters and Setters Object Oriented Programming StyleNew to Visual Studio Code? Get it now.
TypeScript's Getters and Setters Object Oriented Programming Style

TypeScript's Getters and Setters Object Oriented Programming Style

Wilson Godoi

|
30,857 installs
| (3) | Free
Automatic generate getters and setters
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Generate getters and setters for Visual Studio Code

Generate getters and setters for your Typescript class properties.

Demo

Generate getters and setters for your Typescript class properties ES6 pattern.

Features

This extension allows you to quickly generate getters and setters with one single command.

Features:

Detects indentation error. Detects valid type hints to use them in the getter and setter. Generates method's descriptions based on the property description. Add 1 comand to vscode's command palette:

Insert Generate Getters and Setters.

Contexttual menu

Insert Generate Getters and Setters ES6 pattern.

Contexttual menu

Release Notes

Relevant releases:

2.2.0

Generate getters and setters ES6 pattern.

1.1.0

Generate getters and setters even without indentation and in all sorts of selection.

1.0.1

Fixed camel case problems.

1.0.0

Initial version

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft