Smart Duplicate Selection/Line (Shift+Enter) gets the following improvements:
Single letter identifier parts are automatically incremented/decremented if CodeRush detects an alphabetically-ordered pattern in the code.
Enhanced support for duplicating parameters and arguments, letting you quickly declare new parameters based on existing parameters and the selection. To duplicate a parameter, select its part(s) you want to change (selected parts becomes fields) and press Shift+Enter. Watch the video below to see examples of what you can do.
Expressions can now be duplicated. You can duplicate elements of string concatenation, bitwise, boolean and arithmetic expressions. Smart Duplicate Selection will insert a default operator and mark it with a TextField so you can change it later if needed.
Refactorings and Code Providers
The Invert Selection code provider gets a port from CodeRush Classic. Use this to invert selected lines of code in a variety of ways:
Assignments (a = b becomes b = a)
Boolean literals (true becomes false)
Addition/substraction assignments (a += b becomes a -= b)
Equality operators (== becomes !=)
Templates
Added the ability to create a template right from your code using a context menu. Select the code to create a template from, 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.
Please Note: CodeRush for Roslyn has been renamed to CodeRush.
Create a template right from your code using a context menu