Skip to content
| Marketplace
Sign in
Visual Studio>Tools>CodeRush
CodeRush

CodeRush

DevExpress

|
142,820 installs
| (131) | Free
Powerful and quick code creation, debugging, navigation, refactoring, analysis and visualization tools for Visual Studio 2015, 2017 and 2019. CodeRush is available free-of-charge.

NOTE: This extension works with Visual Studio 2019 (and previous Visual Studio versions). You can download a CodeRush version compatible with Visual Studio 2022 here.

Download your free copy today!

DevExpress CodeRush is available free-of-charge. Register for your free copy at https://www.devexpress.com/coderush-free

CodeRush Feature Overview

Code Generation & Typing

Create new code more efficiently with CodeRush's intelligent code generation. Declare members in a single keypress. Surround code with try/catch or using blocks (again, in a single keypress).

  • Write Boilerplate Code Faster and with Fewer Keystrokes
  • Add Using Directives and Common Member Implementations Instantly
  • Create Code Elements Intelligently Based on Usage
  • Surround Selected Code with Popular Language Constructs
  • Intelligently Create New Code Based on a Sample Selection

Learn more about Code Generation & Typing

Code Refactoring & Transformation

With over 100 refactorings and intelligent code providers, CodeRush delivers the power you need to easily change code, improving readability and the internal structure without changing external behavior.

Safely make changes to the API (add/remove parameters, add interface members, move members up the hierarchy) or update legacy code to support new language features. Focus more on code quality and functionality, and let CodeRush handle the routine changes to the code base.

Learn more about Code Refactoring & Transformation

Code Navigation & Search

Move through your code at warp speed. CodeRush includes innovative, powerful and exclusive tools that help you be exactly where you want to be in an instant, regardless of solution size.

Learn more about Code Navigation & Search

Code Style & Formatting

With a rich set of code style settings, you get to focus on code quality and functionality while CodeRush focuses on matching the style needed in the moment. And code style settings can be separately configured (if needed) for yourself, individual solutions, and your entire team.

You can format code, remove unused code, and sort and group members in a single action. You can do this for the active file or instantly clean up entire folders or projects. CodeRush gives you complete control over the entire process.

And if you like, CodeRush will clean up code automatically (to your specifications) when saving documents.

Whether it's Style Cop guidelines or any other style you prefer, CodeRush can organize your code and make it easier to read.

Learn more about Code Style & Formatting

Code Visualization & Readability

CodeRush can add code visualization features to Visual Studio, improving code quality and readability, and help you more easily create and debug code.

Features include:

  • Highlight and Correct Misspelled Words in Code, Comments, and Strings
  • Preview Expression Values In-place while Debugging
  • Perform Common Tasks with Type Members with a Single Click
  • Highlight Code Blocks and Region Boundaries
  • Make Sure All Your Code Fits Onscreen with a Right Margin Indicator Line

Learn more about Code Visualization & Readability

Code Coverage & Testing

When it comes to Test Driven Development, CodeRush is the tool of choice. CodeRush's Test Runner is top of its class. It's the fastest test runner available for .NET. Run and debug a single test, or all tests in the solution. You can even focus on a group of related tests using the Sessions functionality. In-source icons let you run, debug, and see test run status directly from code. And it simply works across test frameworks without any configuration required.

NUnit, MSTest (VS Testing), xUnit, and MSpec tests all are working right out of the box. .NetCore (including .Net 5 and .Net 6), .Net Framework, and multi-target projects are also supported.

CodeRush Templates make it easier to create new tests with a simple keystroke, while Code Coverage helps your entire team find problem areas in the code. You can even reveal line-by-line coverage details if you like.

Learn more about Code Coverage & Testing

What's New in the latest version

Code Analysis

New Diagnostics for DevExpress WPF Components

  • Use DependencyObjectExtensions.DataContext to define bindings for generated columns - Improve performance by defining bindings in column templates using the DependencyObjectExtensions.DataContext attached property. (Xaml diagnostic) Documentation
  • The column’s FieldName or Binding property is not defined - Specify the FieldName or Binding property to connect the column to data. To create an unbound column, set the FieldName property to a string that does not match an existing field name. (Xaml diagnostic) Documentation
  • Columns with the specified Binding property are read-only - Set the binding’s Mode property to TwoWay to allow users to edit column values. (Xaml and C# diagnostic) Documentation
  • Missing EndUpdate call - The BeginUpdate method call requires a subsequent EndUpdate method call. Otherwise, the control's UI will remain locked. (C# diagnostic)
  • Missing BeginUpdate and EndUpdate calls - Call the BeginUpdate and EndUpdate methods to process collection updates in batches. (C# diagnostic)
  • BeginUpdate call in a loop - Call the BeginUpdate and EndUpdate methods outside a loop to batch process collection updates. (C# diagnostic)

Camel Case Navigation and Selection

Camel Case Navigation and Selection now work inside TextBoxes

Camel Case navigation and selection features now work inside TextBoxes everywhere in Visual Studio, including the following locations:

  • Visual Studio's new Inline Rename window
  • The Solution Explorer (when renaming files)
  • The Properties windows (for text properties)
  • Search filters

Documentation

Programming Style

You can now specify whether CodeRush should emit optional parenthesis around switch expression operands (C# 8.0+).

This setting is currently used by CodeRush's "Apply the 'Optional parentheses' style to explicitly specify the order of operations" code cleanup rule.

Improved Visual Studio 17.5 support

We patched a number of CodeRush features to work correctly with the Visual Studio 17.5.0 release.

Resolved Issues

T1148064 - Extract Interface - Visual Studio crashes when the Inline UI is used for the Rename refactoring T1146599 - Code Formatting - csharp_new_line_before_open_brace setting in the editorconfig file is not taken into account T1137318 - Code Cleanup adds unnecessary parentheses around expressions in a list initializer T1137878 - Code Cleanup - CodeCleanupHangedException is raised when executing the Add Copyright Header rule T1133546 - Coderush highlight output does not color a final message if timestamps are enabled

Read more about new CodeRush features

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft