schemas-jetbrains-com:member-reordering-patterns
The XML schema for member reordering patterns has changed between version 8.2 and version 9 EAP. Could we get the updated XSD?
In the meantime, how would I convert this snippet to ReSharper 9?
<Sort>
<Access Order="public internal protected-internal protected private"/>
</Sort>
It appears that ReSharper 9 doesn't allow that kind of granularity. The designer will only let me do this instead.
<Entry.SortBy>
<Access />
</Entry.SortBy>
Please sign in to leave a comment.
There appears to be a
collection property in XAML, but I don't know its item type.What I've tried:
This seems to almost work, but is not a valid element name.
My current type layout: https://gist.github.com/StevenLiekens/2ff74b148297c8879d3c
I'm still looking for a way to configure ordering type members by access type.
Hello Steven,
Please try using one of the following ways:
<Entry.SortBy>
<Access Order="Private Public" />
</Entry.SortBy>
or
<Entry.SortBy><Access><Access.Order>
<AccessModifier>Private</AccessModifier>
<AccessModifier>Public</AccessModifier>
</Access.Order>
</Access>
</Entry.SortBy>Thanks!
Thanks! Both ways work.
Next topic: what does the "Priority" attribute mean, when should I use it, and what happened to the "Weight" attribute?