Code sorting and surrounding


I was wondering if there's a possibility to automatically sort and surround.
I mean I would like resharper to sort members and group them in a region based on their type (field / property / method / etc.) and surround them with a predefined region.
Any built in functionality to allow this?

Thanks in advance.

1 comment
Comment actions Permalink


Sure, there is a feature called 'Type Members Layout' which is available on Code Cleanup for this. You are welcome to read more about it here:



Please sign in to leave a comment.