- 2 minutes to read
CodeRush is a Visual Studio 2015 and higher extension designed to simplify common code creation, code restructuring, debugging and testing tasks. Unlike CodeRush Classic, CodeRush exploits 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 allow 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.
The intelligent static code analysis helps you detect and fix mistakes. CodeRush includes over fifty analyzers.
Refactor your code automatically. CodeRush includes over 100 refactorings and code generators. Use the Ctrl + . or Ctrl + ~ shortcut to invoke the Code Actions Menu, choose the suitable item and the 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.
CodeRush lets you see what's going on with complex expressions and structures when you debug your application, so you can find and fix bugs faster. Use the Debug Visualizer for C# and VB.NET to reveal when local variables change, what arguments were passed into the method, how many loop iterations are passed, why the expression evaluates to an unexpected value and much more.
Use the Decompiler to reveal source code from compiled assemblies. The Decompiler presents assembly structure as a tree and allows you to drill into classes and their members, and navigate to base classes and derived classes.