Join us today!
Auto Generation of Getters and Setters?
Aho Young Warriors!
I am working on a project that has a large number of Properties for access of internal Class data.
Does anyone know of an automatic way to generate getters and setters, even if it doesn't auto-complete the code to map the Property variable to the internal Class variable? I would be open to a solution that just automatically removes the need to right-click 'Add Property'.
Thank you all for any help provided.
Hi , you'd need to use python or something else to automate this. You can open the .TcPOU file of the POU you need and handle adding the get/set in your python script.
In case you want to say thank you !)
We'd be very grateful if you could share this community with your colleagues and friends. You can also buy us a coffee to keep us fueled 😊 This is the best way to say thank you to this project and support your community.
twinControls - https://twincontrols.com/
@twincontrols
Thank you for the feedback. I'm not ready to go down that path, but I appreciate the feedback.
- 17 Forums
- 265 Topics
- 932 Posts
- 2 Online
- 688 Members