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
ReSharper C++ 2023.3 EAP: HLSL Updates and Completion in Inactive Code
The new EAP build is here with updates for HLSL support, code completion inside inactive preprocessor branches, and a new inlay hint for forwarding references.
ReSharper C++ 2023.3 EAP: Clang 17, Updated Attributes
The new EAP build is here with the upgraded bundled clang-format and clang-tidy binaries, a new action to generate a destructor, support for various clang intrinsics, and other updates.
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++.