ReSharper C++ 2025.1

Released: Apr 16, 2025

2025.1 での更新項目

機能

Language Features

  • ReSharper C++ 2025.1 introduces support for several new GNU language extensions, including:
    • Conditionals with omitted operands.
    • #import directives.
    • _Float16, __bf16, and __float128 floating-point types.
    • Local labels.
    • Designated initializer range syntax.
    • Decimal floating-point types from C23.
  • JetBrains have improved the capabilities of the constexpr evaluation engine. ReSharper C++ can now evaluate constexpr functions that contain switch statements, if statements with an initializer, structured bindings, and trivial default initialization. Defaulted operator== from C++20 can also be evaluated.

Unreal Engine

  • JetBrains have focused on optimizing memory utilization of Blueprint-related features in ReSharper C++ 2025.1. Because cached data is offloaded to disk, projects with a large number of Blueprints will benefit from significantly reduced memory usage, improving overall performance.
  • Additionally, ReSharper C++ now recognizes and highlights the UMETA and UPARAM reflection macros, providing code completion and tooltip documentation for both the macros and their attributes.

Inline Macro Refactoring

  • The new Inline Macro refactoring allows you to easily substitute all usages of a macro in your code. The refactoring will also report potential usages in macro bodies and macro arguments that need to be manually reviewed.

Coding Assistance

  • The improved Switch Header/Source action now suggests not only files with matching names but also files containing a declaration or definition of a function from the current file for easier navigation.
  • Function references inside __declspec(property) attributes are now properly highlighted, detected by Find Usages, and updated during the Rename refactoring.
  • A new Redundant forward declaration inspection detects duplicate forward class declarations within the same file and offers a quick-fix to clean them up.

Clang-Tidy

  • ReSharper C++ 2025.1 updates the bundled Clang-Tidy to Clang 20, bringing the latest checks and enhancements from the newest LLVM release. This update also improves ARM platform support and includes a bundled Clang-Tidy binary for Windows ARM.
  • Clang-Tidy checks are now grouped by their prefix in the Inspection Severity settings page, making it easier to navigate to specific checks and quickly enable or disable entire groups of checks.

GoogleTest

  • ReSharper C++ 2025.1 brings several updates to GoogleTest support. When running value- and type-parameterized tests, test cases for specific values and types are now grouped under their respective parameterized test, making test results more structured and readable.
  • Parameterized tests are now discovered from the source code without needing to execute them. As a result, you can now use gutter icons and context actions to run entire test suites and individual parameterized tests directly from the editor.