Rider won't perform solution wide analysis on opened uproject.

I'm working on a UE5.1 project using Rider 2022.3.2. When I open the uproject I see the following solution structure:

MyProject

|- MyProject

|- Engine

|- Programs

Automatic code analysis isn't running on any cpp or h in any folder and only seems to run on .cs files. However, if I right click and force "inspect this" I get the list of warnings and errors I expect.

Am I mistaken that automatic analysis should generate those issues on an ongoing basis? If so, how do I enable that? At the moment I only see warnings and issues for cs files.

0
1 comment
Hello,

Thank you for contacting Rider support.

This is an expected behavior. Such an analysis is called [**Solution-wide Analysis**](https://www.jetbrains.com/help/rider/Code_Analysis__Solution-Wide_Analysis.html). It is disabled for C++ since it is very time-consuming and there is no way to enable it. Also, in the case of Unreal Engine, such an analysis produces a huge number of code warnings because Epic Games developers follow their own code style that mightn't match the one set in your settings.
The designed behavior for C++ files is to analyze the currently opened file.

Should you have any other questions or difficulties, please let me know.
Have a nice day!
0

Please sign in to leave a comment.