CodeRush Releases

Released: Oct 27, 2020

Updates in 20.2.3

Features

Blazor Support

  • Refactorings - Declare Event Handler
    • This release introduces the "Declare Event Handler (Razor code block)" and "Declare Event Handler (Razor code behind)" refactorings. These refactorings generate an event handler in the @code block of a .razor file and in a Razor code-behind file (razor.cs) for the selected method reference.

Organize Members Enhancements

  • You can now create rules to group members by:
    • Member type name (property/field type, method return type, etc...

Released: Sep 29, 2020

Updates in 20.1.8

Features

Blazor Support

  • Extract Razor Component - This release introduces the "Extract Razor Component" code provider. This code provider allows you to extract selected HTML markup into a new Razor component file (Component.razor). You can then reuse and share the Razor component in all your projects. This code provider also adds new Blazor usings to the _Imports.razor file.

XAML Support

  • Element Spacing Formatting Options - This release supports Microsoft Visual Studio's Element Spacing...

Released: Sep 3, 2020

Updates in 20.1.7

Features

  • Improved Microsoft Blazor support - Added new Blazor templates.
  • Improved HTML support - Ported templates for HTML from CodeRush Classic.

Fixes

  • Fixed an issue where IntelliRush breaks auto-formatting on tag completion for XAML in Microsoft Visual Studio 2019.
  • Fixed an issue where CodeRush causes typing slowdowns after opening a solution.
  • Fixed an issue where the "Use String.Format" refactoring is not available for the code that contains a variable’s value or the result of an expression...

Released: Aug 4, 2020

Updates in 20.1.6

Features

  • Changes in CodeRush Menu Position Customization for Microsoft Visual Studio 2019 - Visual Studio 2019 16.4 and up now allows you to specify where CodeRush menus should be placed, and so the older CodeRush option (on the Quick Setup options page) has been removed, which also gives you a slight performance boost on startup (saving about 1600ms on a typical dev machine). By default, the CodeRush menu is placed in Visual Studio Extensions menu.
  • Blazor Support
    • The following CodeRush features...

Released: Jul 2, 2020

Updates in 20.1.5

Features

Unit Testing - Run Settings File Support - You can now exclude the following members, files, and assemblies from Code Coverage analysis using a .runsettings file:

  • Source files matching a specified path/name pattern.
  • Signed assemblies matching a specified public key token.
  • Members with a specified matching attribute.
  • Assemblies having a specified AssemblyCompany attribute value.

Blazor Support - Blazor developers get improved template and refactoring support in this release.

  • Code...

Released: Jun 4, 2020

Updates in 20.1.4

Features

  • Unit Testing - In this release the CodeRush Test Runner gains the ability to show and run tests for all target frameworks in multi-framework projects. You can run tests for all target frameworks or for only tests in a selected framework.
  • Code Formatting - CodeRush lets you configure line breaks around and within simple statements (statements that consist of a single line of code that ends in a semicolon, for example, method calls, return statements, throw statements, etc.) and empty...

Released: Apr 30, 2020

Updates in 20.1.3

Features

  • Duplicate Code Detection - Now you can detect structurally similar blocks of С# code, in a solution or an active project, making it easier to identify improve the quality of your code bases.
  • Unit Testing
    • Run Settings File Support - With this release, you can exclude specific functions from Code Coverage analysis using a *.runsettings file.
    • Test Discovery Enhancements - The CodeRush Unit Test Runner can now discover tests in source code and assemblies when you open a solution. This...

Released: Mar 18, 2020

Updates in 19.2.9

Features

Blazor Support

  • Refactorings and Code Providers - You can now apply refactorings and code providers from @code sections in .razor files. The following refactorings and code providers are all available for .razor:
    • Add/Remove Block Delimiters
    • Add Else Statement
    • Collapse/Expand Local Function
    • Collapse/Expand Method/Property
    • Collapse Accessors
    • Combine/Split Conditionals
    • Compress/Expand Assignment
    • Compress to/Expand Null Coalescing Operation
    • Conditional to Switch/Switch to Conditional...

Released: Feb 18, 2020

Updates in 19.2.8

Features

  • Refactorings and Code Providers - This release includes a useful new refactoring, Promote to Generic Parameter. This refactoring takes a class reference inside a method block, turns that into a generic type parameter to the method, and updates all calling code as you would expect. This can save a lot of time and keystrokes when you want to turn a normal method into a generic one.
  • HTML Support - Color Swatches and the CodeRush Color Picker are now available in HTML:
  • RepeatLastRefactoring...

Released: Jan 21, 2020

Updates in 19.2.7

Features

Smart Dot - Helps you write function call chains faster, with fewer keystrokes.

  • When the caret is in a parameterless function call and you want to access a member of the return value, you can now type the dot within parentheses (instead of moving the caret out and to the right). CodeRush will place the dot to the right of the closing parentheses allowing you to call another method in a call chain.
  • If you have a complete method call and want to call another method in a call chain on the...