You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/mrdocs.schema.json
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -437,6 +437,15 @@
437
437
"title": "Sort assignment operators first",
438
438
"type": "boolean"
439
439
},
440
+
"sort-members-by": {
441
+
"default": "name",
442
+
"description": "If `sort-members` is set to `true`, determine how members of a record or namespace are sorted. When set to `name`, members are sorted by name. When set to `location`, members are sorted by their primary location in the source code, considering the short name of the path and the location in the file.",
443
+
"enum": [
444
+
"name",
445
+
"location"
446
+
],
447
+
"title": "Determine how members of a record or namespace are sorted"
448
+
},
440
449
"sort-members-conversion-last": {
441
450
"default": true,
442
451
"description": "When set to `true`, conversion operators are sorted last in the list of members of a record or namespace.",
Copy file name to clipboardExpand all lines: src/lib/ConfigOptions.json
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -282,6 +282,17 @@
282
282
"type": "bool",
283
283
"default": true
284
284
},
285
+
{
286
+
"name": "sort-members-by",
287
+
"brief": "Determine how members of a record or namespace are sorted",
288
+
"details": "If `sort-members` is set to `true`, determine how members of a record or namespace are sorted. When set to `name`, members are sorted by name. When set to `location`, members are sorted by their primary location in the source code, considering the short name of the path and the location in the file.",
0 commit comments