Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Gabsii/getter-setter-generator
Create getters and setters for several languages for Visual Studio Code automatically!
https://github.com/Gabsii/getter-setter-generator
extension getter-and-setter vscode vscode-extension
Last synced: 23 days ago
JSON representation
Create getters and setters for several languages for Visual Studio Code automatically!
- Host: GitHub
- URL: https://github.com/Gabsii/getter-setter-generator
- Owner: Gabsii
- License: gpl-3.0
- Created: 2019-06-09T17:21:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-19T09:43:08.000Z (over 1 year ago)
- Last Synced: 2023-03-03T05:07:12.625Z (over 1 year ago)
- Topics: extension, getter-and-setter, vscode, vscode-extension
- Language: JavaScript
- Homepage:
- Size: 1.79 MB
- Stars: 4
- Watchers: 2
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.MD
Awesome Lists containing this project
README
# getter-setter-generator README
This extension generates get and set methods from class variable declarations.
- [getter-setter-generator README](#getter-setter-generator-readme)
- [Features](#features)
- [Simply call the Extension with `CTRL + ALT + D`](#simply-call-the-extension-with-ctrl--alt--d)
- [Planned features](#planned-features)
- [Release Notes](#release-notes)
- [1.3.0](#130)
- [1.2.0](#120)
- [1.1.0](#110)
- [1.0.0](#100)
- [Known issues](#known-issues)
- [Authors and Collaborators](#authors-and-collaborators)
- [License](#license)
- [Contribution](#contribution)## Features
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!### Simply call the Extension with `CTRL + ALT + D`
![Generate Getter/Setter](https://raw.githubusercontent.com/gabsii/getter-setter-generator/master/images/getter_setter.gif)
or just use the Command Palette and search for `Generate Getter/Setter`## Planned features
- [ ] More Language Support
- [X] Java
- [X] JavaScript/TypeScript
- [X] C++
- [ ] C#
- [X] Python
- [ ] Go
- [X] PHP
- [ ] Ruby
- [ ] React
- [X] Separate Commands for Getter/Setter
- [ ] Context Menu
- [ ] Generate Getter/Setter without selection
- [X] Automatically generate Code Documentation## Release Notes
### 1.3.0
* Added JavaScript Support
* Added TypeScript Support
* Updated PHP Code Style/Documentation (thanks for your submissions)
* Separate Commands for Getter and Setter method### 1.2.0
* Added Python Support
* Added C++ Support### 1.1.0
* Added PHP Support
* New Known Issue (-> Constructor Variables)### 1.0.0
* Initial release of getter-setter-generator for VS Code
## Known issues
* Make sure whole lines are selected for indentation purposes
* Problems with constructor variables## Authors and Collaborators
* Lukas Samir Gabsi
* [The Katze](https://github.com/TheKatze) for his knowledge on C++/C### License
GPLv3 © [Gabsii](https://github.com/Gabsii)## Contribution
Feel free to send me a PR or an issue to improve the code :)**Enjoy!**