CodeRush Ultimate 22.2.4
Released: Feb 21, 2023
Mises à jour de 22.2.4
Fonctionnalités
- Code Analysis
- Added New Diagnostics for DevExpress WPF Components:
- Use DependencyObjectExtensions.DataContext to define bindings for generated columns - Improve performance by defining bindings in column templates using the DependencyObjectExtensions.DataContext attached property (XAML diagnostic).
- The column’s FieldName or Binding property is not defined - Specify the FieldName or Binding property to connect the column to data. To create an unbound column, set the FieldName property to a string that does not match an existing field name (XAML diagnostic).
- Columns with the specified Binding property are read-only - Set the binding’s Mode property to TwoWay to allow users to edit column values (XAML and C# diagnostic).
- Missing EndUpdate call - The BeginUpdate method call requires a subsequent EndUpdate method call. Otherwise, the control's UI will remain locked (C# diagnostic).
- Missing BeginUpdate and EndUpdate calls - Call the BeginUpdate and EndUpdate methods to process collection updates in batches (C# diagnostic).
- BeginUpdate call in a loop - Call the BeginUpdate and EndUpdate methods outside a loop to batch process collection updates (C# diagnostic).
- Camel Case Navigation and Selection - Camel Case navigation and selection features now work inside TextBoxes everywhere in Microsoft Visual Studio, including the following locations:
- Visual Studio's new Inline Rename window.
- The Solution Explorer (when renaming files).
- The Properties windows (for text properties).
- Search filters.
- Programming Style - You can now specify whether CodeRush should emit optional parenthesis around switch expression operands (C# 8.0+). This setting is currently used by CodeRush's "Apply the 'Optional parentheses' style to explicitly specify the order of operations" code cleanup rule.
- Improved Microsoft Visual Studio 17.5 support - Patched a number of CodeRush features to work correctly with the Visual Studio 17.5.0 release.
Correctifs
- Extract Interface - Visual Studio crashes when the Inline UI is used for the Rename refactoring.
- Code Formatting - csharp_new_line_before_open_brace setting in the editorconfig file is not taken into account.
- Code Cleanup adds unnecessary parentheses around expressions in a list initializer.
- Code Cleanup - CodeCleanupHangedException is raised when executing the Add Copyright Header rule.
- Coderush highlight output does not color a final message if timestamps are enabled.