I have a few classes that are a complete mess. I would like for CodeRush to organize the code so that public, private, etc. methods become grouped. I would also 开发者_StackOverflowlike for CodeRush to organize my public methods into a region, and put fields and properties into regions.
How can I do this?
Have a look at the CR_ClassCleaner plugin -
http://code.google.com/p/dxcorecommunityplugins/wiki/CR_ClassCleaner
In addition to the CR_ClassCleaner plug-in, there's a lighter and simplified version of such functionality in the CR_MemberOrganizer plug-in shipped in CodeRush as an open source feature.
精彩评论