Mark Miller

February 2017 - Posts

  • What’s New in CodeRush for Roslyn v.16.2.5

    Team CodeRush continues our 45-day sprint/release cycle, and we have some treats for you in this update.

    All-new Symbol Naming Assistant

    This is a brand new feature designed to help you quickly name new symbols (members, variables, and parameters).

    The Naming Assistant window automatically opens when you start typing a new symbol name. The suggestion list is filtered as you type, and you can use a subset of the letters in the symbol you want to filter quickly. For example, in the screencast below, typing “mb” filters the suggestions to only show “modelBuilder”.

    NamingAssistant

     

    Code Metrics Are Back

    Code Metrics were a popular feature in CodeRush Classic, and we’re pleased to announce the feature has been ported to CodeRush for Roslyn.

    Code Metrics reveal the complexity of each member, using one of three popular metrics (Cyclomatic Complexity, Maintenance Complexity, or Line Count).

    You can enable the feature on the Editor\All Languages\Code Metrics options page:

    EnableCodeMetrics

    Once enabled, metrics will appear to the left of the member declaration:

    CodeMetricsCU

    You can select a different metric with the mouse, by clicking the metric number and using the menu:

    MetricsAreBack

    Decompiler

    The CodeRush Decompiler gets some improvements. Anonymous methods now appear inline, nullable types are listed with the “?” modifier (e.g., “int?” instead of “Nullable<int>”), and XML documentation comments now appear in decompiled code.

    Navigation

    The References Window now lets you jump quickly among references. When the window is open, press F8 to jump to the next item and press Shift+F8 to jump to the previous item. Also, you can now use the Jump To dialog to navigate through all currently open files.

    Refactorings

    Two new refactorings:

    • Move Type to Namespace changes the namespace of the active type and updates all references.
    • Introduce Using Statement replaces object creation and dispose code blocks with a using statement, improving code readability and ensuring locally-used objects are properly disposed.

    Smart Duplicate Line

    Now, when duplicating items in collection initializers and in parameter lists, commas are added automatically if needed.

    New Visualizations

    Two improvements to make it easier to understand what’s happening in your code:

    • Region Painting, which implements a low-contrast visual representation of **#region** directives, reducing visual noise where regions are used:

      RegionPainting

    • Output Window Highlighting, where errors and warnings in the Output window can be emphasized with saturation, making it easier to recognize important messages faster.

      ErrorHighlighting

    We also addressed a number of reported issues. As always, we welcome your feedback.

    You can download the latest version of CodeRush for Roslyn from the Visual Studio Marketplace. Give it a try and let us know what you think!

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