- 2 minutes to read
CodeRush is an extension for Visual Studio 2015 and later, designed to simplify common code creation, code restructuring, debugging and testing tasks. Unlike CodeRush Classic, CodeRush uses the new Roslyn engine introduced in Visual Studio 2015, which loads your solutions significantly faster, while reducing RAM usage by hundreds of megabytes on most projects.
The Test Runner detects unit tests for NUnit, xUnit, MSpec, and MSTest frameworks, and can run tests across multiple assemblies concurrently. If your project contains multiple target frameworks, you can run tests for all target frameworks or in a selected framework. The Sessions support allows you to organize tests and run specific tests.
You can find symbols and files in your solution, and navigate to code constructions related to the active code block. You can also use the context-aware navigation providers to jump to code related to a specific symbol.
Refactor your code automatically. CodeRush includes over 100 refactorings and code generators. Press the Ctrl + . or Ctrl + ~ shortcut to invoke the Code Actions menu, choose the suitable item and CodeRush automatically makes all required changes in your code.
Use Code Templates to accelerate the code creation process. Just press a few keys to create sophisticated code blocks with the smallest effort. For example, type "pi" (property-integer) and press Tab or Space to create an integer property with a backing store and getter/setter accessors.
The Debug Visualizer lets you see what's going on with complex expressions and structures when you debug your application. You can use this tool for C# and VB.NET to show when local variables change, what arguments were passed to the method, how many loop iterations are passed, why the expression evaluates to an unexpected value, and so on.
Use the Decompiler to reveal source code from compiled assemblies. The Decompiler displays the assembly structure as a tree. You can drill into classes and their members, and navigate to base classes and derived classes.