Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMake "Add unimplemented methods" quickfix put methods in the same order than declaring interfaces #80
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following interface:
And I write the following class:
When I click on the "Add unimplemented methods" quickfix, methods are generated in something that looks like a random order, I end up with:
In which:
Ideal world would sort the generated methods in the (declaring interfaces order, interface method order). I would end up with this order:
It's not a traumatizing behaviour, I generally just re-order methods manually by copy/pasting it, but I try, most of the time, to give some kind of meaning to method order in my interfaces, and like to implement them in order. Moreover, having methods of different interfaces mixed up altogether is sometime confusing.