UML field and method sorting issue
Answered
Hello!
I want to create an UML diagram of my application. However whenever I generate this diagram my methods and fields are all not sorted properly. I am already using "Sort by declaration order" but it does not work. How can I sort all fields and methods the way I declared them in my code?
(Here are the first few fields. This goes on through the entire class. The same behavior can be found in the other classes)
Please sign in to leave a comment.
It should work since 2022.1 release according to https://youtrack.jetbrains.com/issue/IDEA-170065/Allow-to-sort-field-and-methods-on-diagram-alphabetically-or-by-visibility.
If it doesn't work, please file a new bug at https://youtrack.jetbrains.com/newIssue?project=IDEA and attach a small sample project to preproduce it.
still error in 2024.3
this is my class
here is the diagrams,it's not sort by declaration order
https://youtrack.jetbrains.com/issue/IJPL-71922/Elements-sorting-in-diagrams-declaration-order-not-working-properly
thanks