CodeRush Ultimate 18.1

Adds new options to Auto Format code as you type.
May 17, 2018
New Version

Features

  • Code Formatting
    • Simple Wrap - The new 'Simple Wrap' formatting option allows you to configure wrapping of only those line parts that exceed the margin, performing a non-greedy wrapping and adding a minimal number of line breaks.
    • Auto Format Code - Added new options to Auto Format code as you type (after pressing the } and ; keys).
    • Extended Formatting Options - Extended code formatting options with the following settings:
      • Bitwise operators, Relational operators, null-coalescing operator, base types list and constructor initializer now have individual wrapping and spacing options.
      • Removal of Excessive Line Breaks.
      • Blank line configuration options for #region directives.
      • Separate Line Break configuration options before "else", "while", "catch" and "finally" keywords.
  • Code Templates
    • Selection to Template - Added the ability to create a template right from your code using a context menu. Select the code to become a template, right-click and choose Selection to Template. CodeRush automatically creates Links and Fields based on the selected code and opens the new template in the Template Editor.
    • Use Type in Templates - You can now easily include any type in the CodeRush templates system as a Template Name Variable. Just right-click the type anywhere it appears in the Visual Studio editor and choose Use Type in Templates.
    • Template Duplication - Now you can create new templates based on existing templates. Just right-click the template you want to duplicate (in the Templates options page), and select "Create Duplicate". Enter a new template name, and change the expansion or context as needed.
    • Smart Duplicate Line Improvements - Smart Duplicate Line (SDL) gets even smarter and morphs into Smart Duplicate Selection (SDS). You can now press Shift + Enter to duplicate the selected code block. SDS duplicates the selection, placing text fields around the code - parts likely to change in the duplication.
    • Layered Options - CodeRush now stores your settings in Layers, which allow you to bind settings to a particular solution and team, in addition to personal preferences which can serve as defaults (unless overridden by team/solution settings) or, if needed, personal settings can override team/solution settings.
  • Code Analysis
    • Code Metrics - Code Metrics now support a Threshold Value setting that determines when the metric appears and when/if the metric contributes to code analysis. This allows code analysis to report members that exceed your specified complexity thresholds.
    • Code Issues Catalog - CodeRush Analyzers now appear in the Code Issues Catalog. You can use this options page for the following tasks:
      • Enable/disable specific Code Issues.
      • Add/remove Code Issues to/from Visual Studio's background analysis.
      • Specify the severity of each Code Issue.
  • Refactorings and Code Providers
    • Invert Selection - The Invert Selection code provider inverts selected lines of code in a variety of ways:
      • Assignments
      • Boolean literals
      • Addition/substraction assignments
      • Equality operators
    • Remove Unused Assembly References - Added the ability to remove unused assembly references from your projects, accessible through the project's right-click context menu.
  • Unit Test Runner
    • .NET Memory Profiler Integration - You can now run unit tests under SciTech Software’s .NET Memory Profiler. If this third-party product is installed, you can use the Run Under Memory Profiler option to run tests designed to identify memory leaks and other memory usage issues.
    • F# Support - CodeRush Test Runner now supports running tests created for the F# language.
    • Test Runner UX Enhancements - The Test Runner's Results section and Test Runner hints now let you select and copy expected and actual values. Also improved the Test Runner Window filtering capabilities.
  • Code Style
    • Default Visibility Modifier - You can now change the default visibility modifier CodeRush uses for generated members. This setting is used by Declaration Providers, Templates and other features that generate new members from scratch.
    • Optional Parentheses - There's a new Code Style option that lets you set preferences for adding clarifying (but optional) parentheses to your code.
    • Miscellaneous Enhancements
    • Feature Advisor - The Feature Advisor introduces CodeRush features likely to improve your coding efficiency based on the ways you create and modify code in the editor.
    • Region Creation - Press Ctrl+3 to automatically create a region around the current member or selection instantly.
    • Right Margin Line - The Right Margin Line can help you keep code lines from getting too long or exceeding style guidelines. The margin serves as a visual indicator showing lines that have overrun the specified line length.
    • XML Support - The following features support XML markup language now:
      • Structural Highlighting
      • Selection Expand/Reduce and Include Previous/Next Element
      • Paste Replace Word
    • Filtering in Jump To Members - Type, member, and access filtering is now available for the Jump To Members navigation feature.
Auto Format Code

CodeRush Ultimate

Create better code, more quickly.

Got a Question?

Live Chat with our DevExpress licensing specialists now.