![]() ![]() ![]() There are more suggestions for using a nameof operator.We reviewed the most commonly used refactorings to increase their discoverability and introduced related context actions in the Alt+ Enter menu that depend on the current context.We now emit a SetField method that enables the most concise syntax for INotifyPropert圜hanged notifications. We reworked our INotifyPropert圜hanged support and supported more MVVM frameworks and INotifyPropert圜hanged base classes.We’ve also implemented a new Convert to top-level code context action. It helps when the explicit startup class Program is necessary or more desirable to use. For those using top-level statements in their code, ReSharper 2022.2 adds the new context action To explicit ‘Program’ class to execute a transformation to the old style.We’ve greatly optimized the memory usage of ReSharper with the Solution-Wide Analysis mode turned ON, both in terms of memory traffic (number of memory allocations) and memory consumption. We are still working on adding code inspections to suggest using the list patterns in existing code and additional refactoring actions. ReSharper 2022.2 fully supports list patterns with error checking, code completion, and code analysis.We’ve added basic “raw” string support including compiler errors and correct parsing and color highlighting for “”” syntax, pairs of double quotes, and placeholders inside interpolated strings ( syntax).ReSharper also shows all of the compiler errors and warnings. ![]() There are several more inspections and a context action to support checked user-defined operators.We’ve also added a new Add initializer for required members quick-fix for cases where you’ve created a type’s object, but haven’t initialized the members yet. ReSharper 2022.2 is now aware of the required keyword for members inside a class, struct, or record type, and provides additional support for the “required” keyword in code completion.This release brings support for several more features from the C# 11 preview: NET tools, including dotCover, dotMemory, dotPeek, and dotTrace, please check out this separate blog post. In this blog post, we’ll go through the highlights of this major update for ReSharper and ReSharper C++. We just released ReSharper 2022.2 and other JetBrains. ![]()
0 Comments
Leave a Reply. |