In Eclipse IDE how do you customize the Java code style formatter to have it sort the class members with a specified order, for example to group all instance methods by visi
Another way to do this is to perform a code Clean Up:
Setting sorting order:
1 - Window -> Preferences -> Java -> Appearance -> Members Sort Order - Check "Sort members in same category by visibility
2 - Window -> Preferences ... Java -> Code Style -> Clean up ... On code Organizing, select Sort Members
Clean up:
3 - On your java source, right click -> Source -> Clean up.