ReSharper 2023.1 Help

Unreal Engine

ReSharper options: Code Editing | C++ | Unreal Engine

In this page, you can adjust some preferences that affect performance of processing C++ code.

Code indexing

Index Unreal Engine source files

Clear this checkbox to skip indexing of the Unreal engine code. Normally you want to do this if you notice any performance degradation when developing your game.

When the indexing is enabled, you will have a number of features. For example, use any symbols from the engine and ReSharper will automatically add missing #includes, or find usages of engine classes — for example, TArray<T> — in the engine's code and study how they are used there.

If the indexing is disabled, ReSharper will still index header file names, which is very fast but it will let you have code completion for includes, for example, #include <unreal/SomeClassFromUnreal.h>. Once you include a header, its code will be indexed automatically, so you will have code completion and analysis for symbols from the included header.

Index third party code

Clear this checkbox if you want to skip indexing source files under the ThirdParty folder of the engine.

Index plugins

Clear this checkbox if you want to skip indexing source files under the Plugins folder of the engine.

Enable background indexing of Unreal Engine source files

ReSharper indexes the engine code in the background by default, so that you can start working with your game logic code long before the engine code is fully processed. Turning off background indexing will result in a faster but more intrusive initial indexing.

Enable indexing of forced includes like C++20 header units

Use this selector to control caching of precompiled header files. When enabled, precompiled headers can be reused between several source files that include the same header file.

Project model

Use Unreal Engine project model (starting from 4.24)

Reading .uproject and other UE-specific project files allows ReSharper to better understand plugin and module references, and to suggest only available and applicable items in the #include and code completion lists.

Regenerate project properties on configuration change

The Unreal Engine project model information is essential when you have different settings for various build configurations, targets, and platforms. You can switch between configurations and be sure ReSharper will work properly for all of them.

Regenerate project properties on project files change

ReSharper tracks Unreal Engine properties in real time and regenerates the project model as soon as you save any changes in .Build.cs, .Target.cs, .uproject, or .uplugin files.

Code completion

Suggest system headers in import completion inside game projects

By default, ReSharper does not offer unwanted entities from system headers in auto-import suggestions. Select this checkbox to enable system header suggestions.

Blueprints

Enable Blueprints Support

With enabled Bleuprints support, ReSharper reads Blueprint files and offers specific inlay hints and inspections to show the bigger picture behind your code.

Enable blueprint class highlightings

This option enables inlay hints for derived Blueprint classes and allows you to get the list of all inheritors from the context menu or Find Usages.

Enable blueprint function highlightings

This option adds Blueprint inlay hints for UFunctions and allows you to get the details about UFunctions implemented in Blueprints from the hint’s context menu.

Enable blueprint property highlightings

This option allows you to quickly check the state of a UProperty, including whether it has been overridden, and what value is set in the Blueprint file.

UnrealHeaderTool support

Enable UnrealHeaderTool inspections

ReSharper will run the tool in the background as a separate process to check the file you are editing and show the same errors and warnings that you would normally see at compile time.

Treat Unreal Engine symbols as non-project in Search Everywhere/Go To

Matching symbols from the engine project will only be shown when no symbols are found in the game projects.

Last modified: 03 April 2023