不要在intellij中按字母顺序显示班级成员
问题描述:
我在Intellij中使用Scala,在项目面板上它会显示一个类的成员,但它按字母顺序排序。如何以自然顺序(源代码中的顺序)看到它?
I use Scala in Intellij, and on the project panel it would show the members of a class, but it is sorted in alphabetical order. How can I see it in natural order (the order in the source code)?
答
您可以在右侧找到设置图标在项目窗口的顶部,您可以找到如下选项,以获得自然顺序。
You can find the settings icon on right top of the project window, there you can find the option as below, to get the natural order.
按类型排序
sort by type