ReSharper C++ 2021.1 EAP: Updates to Unreal Engine Support, and New Code Inspections
A new EAP build for ReSharper C++ 2021.1 is here! Here are a couple of new features we’ve introduced over the last few builds:
- Code analysis: two new inspections, “Variable can be moved to inner scope” and “Redundant cast expression”, are available together with the corresponding quick-fixes, as well as a set of quick-fixes for conversion errors.
Unreal Engine: a postfix template for
Cast, support for the
RIGVM_METHODreflection macro, and initial support for Unreal Engine 5.
As usual, the EAP build is free to use and available for download from our website, or via the Toolbox App.
To improve readability and limit the scope in which a variable can be used, ReSharper C++ will suggest a quick-fix to move a variable to the inner scope if it is introduced before you need it:
Another new inspection detects when the cast is redundant and can be deleted:
We’ve also added a bunch of quick-fixes for conversion errors. ReSharper C++ will suggest using
static_cast<>, etc., to resolve the error.
The Unreal Engine’s Cast for type-safe dynamic casting is now available as a postfix template in code completion:
In this build, we’ve added support for another Unreal Engine specific reflection macro –
RIGVM_METHOD. ReSharper C++ now handles it correctly:
We’ve also introduced initial support for Unreal Engine 5 with intuitive fixes based on feedback from the Epic Games team. This means you’ll be able to try out the new features as soon as it is officially released.
That’s all for now! The full list of fixed issues can be found in our tracker.
Please check out this build and let us know what you think.
Your ReSharper C++ team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
The ReSharper C++ 2023.3 EAP Is Now Open
Our 2023.3 Early Access Program is now open! Read our first EAP digest to discover the latest enhancements to ReSharper C++.
ReSharper C++ 2023.2 EAP: Introducing AI Assistant
Starting from this EAP build, ReSharper has its own integrated AI Assistant ready to chat in the dedicated tool window (ReSharper | AI Assistant).
ReSharper C++ 2023.2 EAP: Support for the C++23 Standard Library Modules
Support for C++23 standard library modules and C++20’s [[no_unique_address]] attribute, new code formatter settings, and other updates.