Skip to content

Automatically generating getter and setter #5716

@user414

Description

@user414

I couldn't find this issue already existing. I was starting to make variable public just to avoid the setter/getter manual writing, I knew it was time to look for something. Luckily someone beat me to it

https://marketplace.visualstudio.com/items?itemName=DSKWRK.vscode-generate-getter-setter

perhaps this code can be integrated in the mainline, or use as a basis for this new functionality.

Metadata

Metadata

Assignees

Labels

editor-code-actionsEditor inplace actions (Ctrl + .)feature-requestRequest for new features or functionalitytypescriptTypescript support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions