-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Special getter / setter / hasser cases for ordered_class_elements #2746
Comments
for me, it's too specific, 👎 unless you provide nice, generic solution |
Having Or I didn't understand your question. 😉 |
@soullivaneuh I think question was: how would you solve that? |
@TomasVotruba Not sure to understand your question. I talked about the option. After that I can work on some POC to see what is possible. |
@soullivaneuh It's been a while for me. I guess I was curious about specific approach that would make sense. I'm personally fine with public/protected/private, ordered by use order. E.g. while 1st public method uses 2 private methods, they should be in top of private methods. |
big 👎 for that. |
Nono, I don't want a fixer for that 👍 I'm fine with my hands and AI 😄 |
What about keeping the default behavior and propose this as option? If you don't want to add exception, just don't activate them? |
then #2746 (comment) |
This comment was marked as outdated.
This comment was marked as outdated.
I am going to close this because it's 6 years old and did not get enough traction. Let's sum it up:
|
I like the
ordered_class_elements
class fixer, but I would like to keep "pure" getters, setters and hassers at the end of my class, whatever the public / protected / private order definition.Maybe could we add hierarchy options for that?
The text was updated successfully, but these errors were encountered: