Reputation: 28944
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)?
Upvotes: 0
Views: 691
Reputation: 3298
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
Upvotes: 2
Reputation: 26562
In the Structure Tool Window you can view the class members in natural order (it has a toolbar button to sort alphabetically also).
Upvotes: 0