views:

45

answers:

1

Hi, is there any plugin for Resharper or VS extensions for auto sorting class/struct members as suggested by StyleCop? I.e. something which sorts public, protected, then private properties, then public, protected, private methods?

+1  A: 

Have you looked at StyleCop for ReSharper? http://stylecopforresharper.codeplex.com

Hadi Hariri
+1 for sharing the project
Nuno Ramiro
Hi Hadi, yes we are using that, but does it have an auto sort members option? I haven't seen one...
devdigital
I'm not a StyleCop guy so not really sure, but if it doesn't do it, can't you use the Layout Patterns from ReSharper to sort accordingly?
Hadi Hariri

related questions