I am looking for a tool which I can use to group and sort methods/properties/fields etc. within source files. Does anyone know of a light weight plug-in which does this?
+2
A:
Resharper has this feature. It's called "Code Cleanup..." which is bound to Ctrl+E Ctrl+C in version 4.5. This will then prompt you to use a cleanup profile: either Reformat Code which just moves your code around, or Full Cleanup which does a much deeper clean, e.g. removes unused using statements, uses 'var'. You can even define you own custom cleanup profile.
Phillip Ngan
2009-12-03 03:32:01
What's this called in Resharper? I've been looking around for a little while and can't find it.
Courtney de Lautour
2009-12-03 03:47:43
+1 for Regionerate! We use that tool (with a custom template) all the time.
TrueWill
2009-12-03 04:33:11
+1
A:
MZ-Tools can do it (in addition to many other things). This feature is called Sort Code Elements. It allows you to also manually tweak the order in addition to predefined settings.
Peter Macej
2009-12-03 08:20:19