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

前端 未结 8 1521
小蘑菇
小蘑菇 2021-02-13 06:01

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 th

8条回答
  •  迷失自我
    2021-02-13 06:51

    For C/C++ mode, right click on the method name inside the Navigator window, then there's choice of "Sort by Name" or "Sort by Source", choose the one you like :)

提交回复
热议问题