Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cjcrafter/pythongettersandsetters
Plugin for PyCharm that adds Getters and Setters
https://github.com/cjcrafter/pythongettersandsetters
getters-and-setters idea intellij intellij-plugin jetbrains pycharm pycharm-plugin python
Last synced: 25 days ago
JSON representation
Plugin for PyCharm that adds Getters and Setters
- Host: GitHub
- URL: https://github.com/cjcrafter/pythongettersandsetters
- Owner: CJCrafter
- License: mit
- Created: 2023-01-29T04:27:32.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-29T16:24:02.000Z (about 1 year ago)
- Last Synced: 2024-05-01T23:34:56.094Z (6 months ago)
- Topics: getters-and-setters, idea, intellij, intellij-plugin, jetbrains, pycharm, pycharm-plugin, python
- Language: Kotlin
- Homepage:
- Size: 389 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Python Getters And Setters
[![downloads](https://img.shields.io/jetbrains/plugin/d/20946?style=for-the-badge)](https://plugins.jetbrains.com/plugin/20946-python-getters-and-setters)
[![rating](https://img.shields.io/jetbrains/plugin/r/rating/20946?style=for-the-badge)](https://plugins.jetbrains.com/plugin/20946-python-getters-and-setters/reviews)**Python Getters And Setters** is a convenient [PyCharm](https://www.jetbrains.com/pycharm/) plugin designed to effortlessly generate getters, setters, and deleters for your properties.
Ever wondered why you'd want to use getters and setters in Python? Dive into the [discussion](https://stackoverflow.com/questions/2627002/whats-the-pythonic-way-to-use-getters-and-setters) here.
## How to Generate Properties
1. Use the shortcut `alt + insert` or right-click within your code and select "generate."
2. A popup titled *"Generate"* will appear.
3. From the options available, select *"Getters and Setters"*.## Customizing the Format
If the default format isn't quite right for you, don't worry. Customize the [live code template](https://www.jetbrains.com/help/pycharm/using-live-templates.html) to tailor it to your needs. Need guidance? Refer to [this discussion](https://github.com/CJCrafter/PythonGettersAndSetters/pull/1) on customizing the template.