Skip to content

This project generates getters and setters methods of class properties.

Notifications You must be signed in to change notification settings

max619/generate-getters-setters

 
 

Repository files navigation

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!

About

This project generates getters and setters methods of class properties.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%