How to auto generate setter and getter in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to auto generate setter and getter in python

In Any IDE Vs code Eclipse

7th Apr 2020, 7:04 PM
Aditya Kumar
Aditya Kumar - avatar
1 Answer
+ 1
I know in intellij idea. In your project, right-click anywhere on the typing screen, and click 'Generate...' and then 'Getter and Setter'. Then, hold down CTRL and click on the fields you wish to create getters and setters for, then click on 'OK'.
29th Apr 2020, 6:31 AM
Prabhjot Singh
Prabhjot Singh - avatar