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

前端 未结 8 1522
小蘑菇
小蘑菇 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:47

    As of 6.0/6.1, this feature isn't available in the built-in tools. The "Navigator" view is intended to give you an ordered index of your members. To see the Navigator, go to Window->Navigating->Navigator or hit Control-F7.

    Consider submitting a feature enhancement to Netbeans.

提交回复
热议问题