This extension generates get and set methods from class variable declarations.
This extension allows you to automatically generate getters and setters with one single command.
- Auto indentation detection. Your code won't break.
- Supports multiple variables at once
- Generate Getter or Setter separately
- Generates a Getter/Setter code documentation. Automatically!
or just use the Command Palette and search for Generate Getter/Setter
- More Language Support
- Java
- JavaScript/TypeScript
- C
- C#
- Python
- Go
- PHP
- Ruby
- React
- Separate Commands for Getter/Setter
- Context Menu
- Generate Getter/Setter without selection
- Automatically generate Code Documentation
- Added JavaScript Support
- Added TypeScript Support
- Updated PHP Code Style/Documentation (thanks for your submissions)
- Separate Commands for Getter and Setter method
- Added Python Support
- Added C Support
- Added PHP Support
- New Known Issue (-> Constructor Variables)
- Initial release of getter-setter-generator for VS Code
- Make sure whole lines are selected for indentation purposes
- Problems with constructor variables
- Lukas Samir Gabsi
- The Katze for his knowledge on C /C#
GPLv3 © Gabsii
Feel free to send me a PR or an issue to improve the code :)
Enjoy!