CodeRush

  • 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.

More information:

Key Features

Test Runner

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.

test-runner

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.

Nav_JumpTo

Code Analysis

The intelligent static code analysis helps you detect and fix mistakes. CodeRush includes over 50 analyzers.

Code_Inspections

Refactorings

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.

Refactor_Main

Code Templates

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.

Templ_Config_win

Debug Visualizer

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.

CRR_Debugging_Main

Decompiler

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.

Decompiler_Analyze