mbien opened a new pull request, #8220:
URL: https://github.com/apache/netbeans/pull/8220
if the formatter is configured to sort members alphabetically, the hint
should not rearrange record components.
The fix reuses the existing special case for enums, which holds the enum
"members" in place and does the same for synthetic record members.
```java
import java.awt.Color;
// enable formatter setting: ordering -> alphabetical member sort
// this should not influence record components
public record OrderMembersRecord(Color borderColor, double borderSize, int
width, int height) {
public static int c;
public static int b;
public static int d;
public static int a;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists