Dotnet logo

.NET Tools

Essential productivity kit for .NET and game developers

.NET Tools Resharper C++ ReSharper Platform

ReSharper 2024.2: Deepened C#12 and Initial C#13 Support, New AI Capabilities, Localization, and More

Hello everyone,

ReSharper 2024.2 and the latest versions of other JetBrains .NET tools have just been released. This release brings support for the .NET 9 Preview SDK, new C# and C++ features, localization updates, AI Assistant enhancements, and much more.

In this article, we’ll cover the highlights of this major update for ReSharper and touch on the features coming to ReSharper C++. To learn more about our other .NET tools, including dotCover, dotMemory, dotPeek, and dotTrace, check out this separate blog post.

Let’s take a closer look at what’s new in this version!


👀 Would you rather watch than read?

Then check out the recording of the 2024.2 Release Party where our developer advocates demoed all of the latest updates:


Support for the .NET 9 Preview SDK

ReSharper 2024.2 now supports the .NET 9 Preview SDK, bringing initial support for C# 13 features.

C# support

This release deepens support for C# 12 features and introduces initial support for C# 13. Highlights include:

  • Enhanced equality analysis for struct types.
  • An Extract common code inspection for reduced duplication.
  • Culture previews in ToString() format specifier code completion.
  • The ref struct interface implementation.
  • Support for the new \e escape sequence.

You may want to check out this series of blog posts we’ve prepared to give you the most in-depth information about the latest changes in C# support.

C++ support

ReSharper 2024.2 brings notable enhancements for C++ developers:

  • Support for C++23 features: This includes the multidimensional subscript operator, #elifdef and #elifndef preprocessor directives, and the [[assume]] attribute.
  • Type layout information: Tooltips and quick documentation popups now display detailed type layout information for classes and class fields, such as size, alignment, offset, and padding.
  • Improved Unreal Engine support: The tool now recognizes struct traits and generates required methods, with new inspections detecting missing base class method calls.
  • Rename refactoring enhancements: Options to rename related files and types have been added.
  • Code analysis updates: The update includes Clang-Tidy 18 and support for IWYU pragmas.

Learn more about these updates from the What’s New in ReSharper C++ 2024.2 page on our website.

Localization

We’re thrilled to introduce the first stage of localization for Chinese, Korean, and Japanese. This update brings a partially localized UI, including code inspections, tool windows, and notifications. To enable localization, go to ReSharper Options | Environment | General | Localization | Interface language and select your preferred language.

Alternatively, install the localization plugin via the Extension Manager. Full instructions can be found here.

Performance 

Asynchronous typing enabled

Asynchronous typing is part of an ongoing effort to improve ReSharper’s performance by enabling it to run out of process with Visual Studio. ReSharper 2024.2 is the first version of the product to feature this important change. Our internal tests show that enabling asynchronous typing facilitates a marked improvement in the smoothness of the typing experience. We’d love to hear about your perceptions over on our issue tracker.

What is asynchronous typing?

AI Assistant enhancements

The AI Assistant has received significant upgrades with the latest release of ReSharper. Here are the feature highlights:

  • Updated models: The language models AI Assistant uses were upgraded to GPT-4o and Google Bison, providing more relevant results.
  • Improved UI/UX: The AI Assistant in ReSharper now sports an updated look, enhancing your experience when using it.
  • Ask AI: You can now quickly ask AI Assistant questions without opening the AI chat.
  • In-editor code suggestions and generation: There is now the option to generate XML documentation or implement empty methods directly in the editor.
  • AI naming suggestions: AI can now suggest suitable names when renaming or extracting methods.
  • Explain with AI for debugging and DPA: You can now ask AI Assistant to explain exceptions and memory/database issues identified by Dynamic Program Analysis.

Decompiler enhancements

This release also brings significant updates to the decompiler:

  • Lambda parameters: support for decompiling lambdas with optional and parameter-array parameters.
  • Attributes on lambdas: improved handling of attributes on lambda expressions.
  • Protected assemblies: the option to decompile protected assemblies.
  • Build configuration detection: detection and presentation of the build configuration of assemblies.
  • Handling of external sources: support for navigating to sources from PDB files with SrcSrv and SourceLink.
  • Preprocessor directives: recognition of preprocessor directives from the target framework or Portable PDB.
  • Open in browser action: navigation to source code in repositories for types or NuGet packages.

For more information on these and other updates in ReSharper 2024.2, please visit the What’s New in ReSharper page.

You can also review the full list of requests we’ve addressed during this release cycle in our public bug tracker.

You can download the release build from the ReSharper 2024.2 page or install it using the JetBrains Toolbox App.

We appreciate any feedback you might have about the new features and changes introduced in this latest version!

image description

Discover more