does any tool (VS extension, or maybe Resharper supports this...) exist which can orginize code in my class in some specified way? Like this :
public static fields/properties
private static fields/properties
public fields/properties
private fields/properties
constructors
public static methods
private static methods
public methods
private methods
etc
(and all are sorted alphabetically)
It would be so nice...
I like to have my code very organized, but sometimes I do not follow my own rules and than reorganizing everything by hands may be a little bit problematic )
Yes, ReSharper can do it. You can even customize the way it organizes items... take a look at this blog post by Hadi Hariri http://hadihariri.com/2011/01/04/in-depth-look-at-customizing-type-layout-with-resharper/
Yes, resharper has such a feature (and many other equally marvelous ones).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With