CodeRush Ultimate 20.2.5

Released: Dec 17, 2020

20.2.5 中的更新

特性

  • Exclude Generated Code from Analysis - CodeRush now allows you to exclude files and code regions that contain generated code from code analysis and code cleanup. Just open the Editor | All Languages | Generated Code options page and add the necessary file patterns or region titles to bypass during analysis and code cleanup.
  • Smart Dot Enhancements
    • You can now quickly multi-press the dot key (".") when the caret is inside parens in a method call with parameters. CodeRush will move the dot and caret outside the closing parenthesis, allowing you to quickly access a member of the method's return value. Each additional press of the dot key will move the dot out to the right of the next closest closing parenthesis.
    • You can also place the caret inside square brackets ("[ ]"), for example, in a list element or array element, and double press the dot. CodeRush will move the dot and caret to the right of the closing bracket.
    • You can set the multi-press speed in the Smart Keys options page. The default value is 500 milliseconds. If two back-to-back dots are pressed within this time frame CodeRush applies the Smart Dot feature and suppresses IntelliSense. This setting lets you determine which feature to use when both Smart Dot and IntelliSense are available.

修補程式

  • General - Visual Studio freezes when build configuration is changed from Debug to DebugTest.
  • Code Cleanup should not use an implicit variable declaration for new target-typed expressions in C# 9.0.
  • Code Cleanup throws an exception for a lambda statement.
  • Feature Advisor - Shortcuts shown in notifications are not localized for different keyboards.
  • Organize Members - Event handlers are incorrectly wrapped into a region if methods already contain regions.
  • Refactorings - The "Reorder Parameters" refactoring does not support local function declarations.
  • Region Painting - Regions are drawn incorrectly when #region and #endregion directives are shifted relative to each other.
  • Smart Constructor - The parameter type is wrong for a member with a nullable reference type.
  • Spell Checker does not work in the code editor.
  • Templates - The "in" template is expanded incorrectly in HTML comments.
  • Test Runner crashes if .NET 5 tests run on multi-targeting project layouts.
  • Test Runner does not work in VS 2019 16.9.0 Preview 2.0.