Is there an easy way to sort methods within a class in Eclipse?
Under Preferences choose Java -> Appearance -> Members Sort Order. This allows you to set the order of members within a class when you use the Sort Members action.
The sorting is a way to arrange elements of a list or array in a certain order. The order may be in ascending or descending order.
select the class, Source > Sort Members
you can set the order in Java preferences
via Eclipe forums
Found it on the Eclipse newsgroup:
select the class, Source > Sort Members
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With