Lipis Lipis - 1 year ago 102
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.

Answer Source

In Netbeans 8.0.1:

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

Netbeans member sorting


Source -> Organize Members

Netbeans member sorting

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download