krizzdewizz / vscode-refactorix

TypeScript refactoring tools for Visual Studio Code
Apache License 2.0
19 stars 6 forks source link

Add public access option to the getter/setter refactoring #10

Closed joseluisb closed 6 years ago

joseluisb commented 6 years ago

Per coding guidelines in a project, we require adding explicit access specification to all class members. So I modified core/property.ts to take into account a new option in GetterSetterOptions that enables adding a 'public' modifier to the generated property getters and setters

krizzdewizz commented 6 years ago

Hi, thank you for this. I'll merge it soon and release a new version.

krizzdewizz commented 6 years ago

Hi, had to publish the new version 0.3.7 with another publisher because it just don't work anymore with the old one.

So there are now 2 refactorix listed in Marketplace. Please uninstall 0.3.6 first and then switch to 0.3.7.