CodeRush 16.1.8 released

Released: Nov 1, 2016

Updates in 16.1.8

Features

  • Smart Duplicate Line - Smart Duplicate Line duplicates the active line, and inserts Text Fields into the duplication to make modification easier. The feature learns your preferences as you use it, so it gets smarter (and saves you more work) over time.
  • XAML Features
    • XAML code formatting.
    • Import All Types (declares all necessary namespace references needed by the XAML file).
  • Refactorings, Code Providers, and Code Formatters
    • Break Apart or Line Up both Parameters and Arguments - Either collapses a list of method parameters or passed-in arguments into a single line, or breaks them apart into separate lines (one for each parameter or argument).
    • Remove Type Qualifier - Removes the explicit namespace definition from symbol usage and adds the corresponding namespace reference to the file's using/imports list. You can use it on a single identifier, on all identifiers in the current file, or as a code cleanup rule.
    • Decompose Parameter - This is a very powerful refactoring that allows you to easily change the types of the parameters passed into a method, which can make the method is more widely accessible, promoting reuse.
    • Extract String to Resource - Adds a string literal to an existing RESX file (creating the new RESX if necessary), and replaces the string with the resource link. You can also optionally extract all string literals within a method or accessor.
    • Declare Parameter - Adds the selected identifier to the method signature and updates all usages.
    • Unit Testing - Code Coverage now supports .NET Core test cases.