用 C++ 模块支持提升了代码组织

5月 2, 2024
ReSharper 2024.1 了解模块和内部分区的结构,使代码完成等功能能够更有效地工作。

继续用英语阅读:

ReSharper is a productivity and code quality plugin for Visual Studio, developed by JetBrains. It helps .NET developers write cleaner, more efficient code. By analyzing code on-the-fly, ReSharper identifies potential errors and suggests fixes. It also automates code refactoring, allowing developers to safely restructure their codebase. These features improve developer productivity and maintainability of the code, making ReSharper a valuable tool for both individual developers and development teams.

The ReSharper 2024.1 release improves support for C++20 modules through a refined module discovery process. This update enables internal partition units, which are essentially module partitions that remain hidden from the external interface. By internally restructuring how exported C++20 modules handle references from other modules, ReSharper C++ avoids the previous need to re-export these references. This translates to noticeably smaller exported modules and improved performance for projects using C++20 modules.

To see a full list of what's new in version 2024.1, see our release notes.

ReSharper is licensed per user, and is available as a commercial annual subscription license. We can supply new subscriptions, subscription renewals (including continuity discounts), lapsed renewals, and additional user licenses. See our ReSharper licensing page for full details.

ReSharper is available to buy in the following products: