—Joshua Kerievsky, Refactoring to Patterns
Refactoring is one of the main pin-points of the agile programming (I have previously written an article about Refactoring with Composed Method pattern) and should be supported by the great tools.
The following list contains the Code Refactoring tools for Visual Studio known to me at the time of writing.
I am just presenting the list and I am not affiliate with any of the below companies. My personal preference goes toward ReSharper that I am using already for long time, but you may prefer some others.
I’ve taken the product description directly from the tool’s web sites.
Resharper by JetBrains
ReSharper: ReSharper is a renowned productivity tool that makes Microsoft Visual Studio a much better IDE. Thousands of .NET developers worldwide wonder how they’ve ever lived without ReSharper’s code inspections, automated refactoring, blazing fast navigation, and coding assistance. ReSharper will help you with : Code quality analysis, Navigation and Search, Coding Assistance, Refactorings, Code Generation, Code Templates, Code Cleanup, Unit Testing, Internationalization, ASP.NET and ASP.NET MVC Tools, XAML Editing Tools, Cross Language Functionality, NAnt and MSBuild Script Editing, Open API.
CodeRush: CodeRush will help you create and maintain source code with extreme efficiency. Consume-first declaration, powerful templates, smart selection tools, intelligent code analysis, and innovative navigation and an unrivalled collection of refactorings all work together to increase your productivity dramatically. CodeRush feature groups:DDC – Duplicate Detection and Consolidation, Consume-first Development, Advanced Selection Tools, Automatic Code Generation, Clipboard tools, Code Formatting and Cleanup, Background Code Analysis, Navigation Tools, Unit Test Runner, Visualization Tools, Scalable to Huge Solutions, Refactor!Pro.
CodeRushExpress: Free version of the CodeRush: Includes intelligent code navigation, selection and declaration features with over 50 refactorings for VB and C# developers.
Visual Assist X
Visual Assist X: Visual Assist X simplifies large tasks by offering a number of code refactorings. Overhaul huge code bases with a few simple commands, maintain legacy projects, and make your code easier to read and understand (Rename, Extract Method, Encapsulate Field, Change Signature, Move Implementation to Source File, Add member, Add similar member, Document Method, Create Declaration Create Implementaion, Create From usage, Implement Interface), Write Code Faster. Read Code Faster, Navigate Intelligently, Identify and Correct Mistakes, Enhanced Intellisense, Highly Configurable).
VS Commands for Visual Studio 2012
VSCommands for Visual Studio 2012: Free! VSCommands is developed by a small group of passionate developers who believe coding should be fun and with right tools nothing is impossible! Since its first release in June 2010, VSCommands 10 for Visual Studio 2010 has been downloaded over 1,000,000 times and is used daily by tens of thousands of developers worldwide.
Edit: As pointed out by Pat, VS Commands are not really offering any refactoring features, but it is good to mention the product anyway as it offers a great deal of added functionality to Visual Studio
DPack: Free! DPack includes various browser tools that allow the developer to quickly find solution files, types, particular type members, methods or properties for instance, or quickly find and reference standard .NET framework types. DPack includes greatly enhanced numbered bookmarks feature, various code navigation tools as well as streamlined surround with feature, and much more. See screenshots and learn more about individual features using Features menu.