Lipis Lipis - 10 months ago 55
Java Question

How can I sort class members by name in NetBeans, or another Java IDE?

I want to sort members by name in the source code. Is there any easy way to do it?

I'm using NetBeans, but if there is another editor that can do that, just tell me the name of it.


In Netbeans 8.0.1:

Tools -> Options -> Editor -> Formatting -> Category: Ordering

Netbeans member sorting


Source -> Organize Members

Netbeans member sorting