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
My goal is to have all getters/setters grouped, getThenSet when both are present, but when only one is present, it is still ordered with the rest. For example:
get PropA() { }
get PropB() { }
set PropB(val) { }
set PropC(val) { }
get PropD() { }
The "accessor-pairs": [{ "accessorPair": true, "sort": "alphabetical" }], almost does this, but it treats the non-paired get or set as different. Ideally I would be able to define a group something like [{ kind: "get|set", "sort": "alphabetical" }] and respecting the getThenSet when a pair is present.
Is something like this already possible?
The text was updated successfully, but these errors were encountered:
My goal is to have all getters/setters grouped,
getThenSet
when both are present, but when only one is present, it is still ordered with the rest. For example:The
"accessor-pairs": [{ "accessorPair": true, "sort": "alphabetical" }]
, almost does this, but it treats the non-pairedget
orset
as different. Ideally I would be able to define a group something like[{ kind: "get|set", "sort": "alphabetical" }]
and respecting thegetThenSet
when a pair is present.Is something like this already possible?
The text was updated successfully, but these errors were encountered: