ReSharper 2022.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.

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.

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: 24 May 2022