Help Needed with Grouping Properties and Backing Fields in ReSharper FileLayout

Hello Community,

I'm currently facing a challenge with ReSharper in a C# project and would appreciate any guidance or advice you could provide.

I'm trying to configure the file layout in ReSharper to group properties with their corresponding backing fields. My goal is to have each property, along with its private backing field, organized in a specific region in my code. Additionally, I want them to be sorted alphabetically, with the private field appearing first, followed by the public property.

I have noticed an option in ReSharper called "Properties w/ Backing Field" and wonder if this could be a solution to my problem.

Could anyone with experience in configuring ReSharper for similar scenarios provide some insight or steps on how to properly set this up? 

Thank you in advance for your assistance!

Best regards,

1
1 comment

Hello,
thank you for contacting us.
Unfortunately, at this moment the option "Properties w/ Backing Field" doesn't work properly
As for configuring File Layout, please refer to our help article Rearrange members with file and type layout patterns
Thank you!

0

Please sign in to leave a comment.