Skip to content

CJCrafter/PythonGettersAndSetters

Repository files navigation

Python Getters And Setters

downloads rating

Python Getters And Setters is a convenient 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 here.

plugin screenshot

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 to tailor it to your needs. Need guidance? Refer to this discussion on customizing the template.