CodeRush 21.2

Prend en charge Visual Studio 2022 et améliore les performances au démarrage.
Novembre 2, 2021
Nouvelle Version

Fonctionnalités

Microsoft Visual Studio 2022 Support

  • CodeRush now installs and runs in Visual Studio 2022. You can use one of the following ways to add the CodeRush extension to Visual Studio 2022:
    • Visual Studio Marketplace - Download the "CodeRush for VS 2022" extension from the Visual Studio Manage Extensions window and run the VSIX installer to install CodeRush.
    • Download Manager - If you already have a CodeRush subscription, you can download a registered version using the DevExpress Download Manager and install with the .exe installer.

Performance Enhancements

  • Improved Startup Performance
    • Improved startup performance by optimizing the internal services. The time to open CodeRush windows and visual elements has been decreased.
  • Improved Typing Performance
    • Typing performance is faster in the following scenarios:
      • Editing documents, working with files and using Rich Comments.
      • Reduced the time required to expand code templates (the first time), and to show the “Paste Image” context menu.
      • Improved performance when CodeRush applies code cleanup on saving a document or when CodeRush checks the availability of the Code Cleanup action on the toolbar.
  • Optimized Memory Use
    • Reduced memory consumption in the “Jump to Symbol” feature and the XAML engine used in refactorings, navigation, code analysis, and other CodeRush features for projects containing XAML files.
  • Optimized Tool Windows
    • The Code Coverage and References tool windows now load faster when run the first time. The member graph build time has also been decreased.
  • Optimized Debug Visualizer
    • The Debug Visualizer is now faster when stepping over, into, or out of code blocks.

Code Places - Reorder Members with Drag & Drop

  • The 'File Places' tab of the Code Places window now supports drag & drop to quickly reorder members for the opened file.

Unit Testing

  • Test Runner
    • The Unit Test Runner now shows white spaces and line breaks in test run results.
    • The Test Runner can also display "pretty-formatted" names for xUnit test cases in Microsoft .NET Core projects.
    • To enable this functionality, check the "Collect tests from assemblies when opening a solution and rebuilding projects" option on the Unit Testing | Test Runner options page.

Refactorings

  • Move File to Folder
    • The "Move File to Folder" moves a file to a folder matching the current namespace. If a corresponding folder does not exist in the solution, this refactoring will create one.
  • Move All Types to Files
    • The "Move All Types to Files" refactoring allows you to quickly move all types (or only selected types) contained in one file into new separate files (one file per type). Each file will have the same name as the type it contains.
    • You can also run this refactoring from the Solution Explorer, targeting a selected project, folder, or folders containing source files with multiple types inside.
    • If you want to apply the "Move All Types to Files" refactoring during code cleanup, enable the corresponding options for the 'Move types to separate files' rule on the Editor | C# (Visual Basic) | Code Cleanup options page.

Organize Members

  • You can now create rules for properties with backing fields to group and sort them with the following criteria:
    • Keep backing fields with their corresponding properties.
    • Group properties with backing fields by visibility.

Rush Snippets Update for Visual Studio Code

  • The latest Rush Snippets release introduces the following features:
    • New snippets for JavaScript projects.
    • React Hooks - Rush Snippets now supports snippets for the following hooks: useState, useEffect, useContext, useReducer, useCallback, useMemo, useRef, useLayoutEffect, and useDebugValue.
    • Advanced imports generation - With improved import generation, Rush Snippets adds any needed imports to the top of the file where they belong.
CodeRush

CodeRush

Visualisez le code et déboguez-le intuitivement.

Vous avez une question ?

Discutez en direct avec l'un de nos spécialiste des licences DevExpress .