Hello,
I've organized members like this:
- Fields by Visibility DESC, Name
- Auto-Implemented Properties by Visibility DESC, MemberTypeName, Name
- Properties by Visibility DESC, MemberTypeName, Name
- Methods by Visibility DESC, MemberTypeName, Name
I've set 1 empty line between each organized group and in Formatting 0 blank lines between Properties, Auto-Implemented Properties and Simple Properties to distinguish if organized groups are together.
Property Example1 has setter as expression while Example2 got setter as body.
Why this simple property Example1 isn't ordered next before Example2?
Hi Simon,
I have reproduced this behavior locally. We need some time to research the cause of this issue. We will inform you about our progress.
Thank you.
There's also issue with Formatting -> Blank Lines. If blank lines around Property is set to 1, Auto-Implemented Property blank lines around is set to 0 and Auto-Implemented Property is initialized it makes blank line below like shown on picture. I couldn't find option to avoid this behavior.
Hello,
I've created a separate ticket on your behalf (T947961: Formatting - The blank lines option for auto-implemented properties with initializer is incorrectly processed). It has been placed in our processing queue and will be answered shortly.