Plugin "Diagram" shows constructor in incorrect position.

已回答

Hello,English is not my native language, I am sorry for my bad grammar. There are two screenshots in attachments. 
First one  is my screenshot.
Second  is a screenshot from the web.

The constructor on my screenshot is displayed incorrect. It must be after the fields (attributes),but it is above them.
However in the screenshot from the web, it is displayed correctly.

Question: How to change the position of constructor?  I did not find option for this in settings.


评论操作 固定链接

Sorting has been introduced in 2022.1, see https://youtrack.jetbrains.com/issue/IDEA-170065/Allow-to-sort-field-and-methods-on-diagram-alphabetically-or-by-visibility

 

By default, class members are shown in the same order they are defined in the source code: 

0

请先登录再写评论。