Sorting elements in Java views
Members and Outline views can present members sorted or in the order of declaration in the compilation unit.
To sort members:
- Toggle on the Sort toolbar button in the Java view
Note: the sorting order is defined as follows:
- Nested types are presented before other members
- Fields are presented before methods
- Static members are presented before non-static members
- After the above sorting is performed, members in each group are sorted alphabetically
To present members in the order of declaration in the compilation unit.
- Toggle off the Sort toolbar button in the Java view