Mark Miller

CodeRush 17.1.7 Released

This release of CodeRush for Roslyn, our Visual Studio productivity boosting add-in includes enhancements to code coverage, code analysis, and more. This release also includes a preview release of project-wide code cleanup.

Code Coverage

You can now exclude specific projects from Code Coverage analysis using the *.runsettings file. For details refer to Microsoft’s article, Customizing Code Coverage Analysis.

ExcludeFromCoverage

You can now create and apply Filters to the Code Coverage report. For example, you can create a filter that only shows members with less than 70% coverage.

FilterCoverage

Code Analysis - Unused Members

We have added a new analyzer that detects unused members.

HighlightUnused

You can also configure unused member highlighting in the CodeRush options dialog (Editor | All Languages | Static Code Analysis | Highlight unused members).

HighlightUnused2

Unused members can be safely deleted without changing program behavior.

Refactorings and Code Providers

The Use string.Format refactoring is now available on interpolated strings.

Project-wide Code Cleanup (Preview)

You can now run Code Cleanup for the entire project. Simply right-click the project you want to clean in the Solution Explorer and select Cleanup Project from the context menu.

CleanupProject1

As CodeRush cleans the project, a window shows progress.

CleanupProject

If code cleanup is cancelled, all code files will remain unchanged.

Reminder: This feature is in a preview state, and may break or change the behavior of your code. If you find Code Cleanup yields unexpected results, please let us know. You can globally undo the entire operation using the Visual Studio’s Undo action (available when any document changed by code cleanup is open).

Download CodeRush for Roslyn from the Visual Studio Marketplace.

Published Aug 22 2017, 07:26 AM by
Bookmark and Share

Comments

No Comments

About Mark Miller (DevExpress)

Mark Miller is a C# MVP with strong expertise in decoupled design, plug-in architectures, and great UI. Mark is Chief Architect of the IDE Tools division at Developer Express, and is the visionary force behind productivity tools like CodeRush and Refactor!, as well as the DXCore extensibility layer for Visual Studio. Mark is a popular speaker at conferences around the world and has been writing software for over two decades.
LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2017 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners