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

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

    As @PaulCroarkin said - use eclipse, Or you can use Jalopy as part of your build which will do all manner of magical formatting to your source files in the process (whether this is a good thing or not is open to debate)

提交回复
热议问题