IntelliSense shows bogus errors in Visual Studio 2022 with C++ 17 or higher

Hello,

I am using Visual Studio 2022 and UE4 4.27.2 and when setting the C++ standard to either 17 or latest in my Game.Build.cs file via…

CppStandard = CppStandardVersion.Cpp17;

…I get some bogus IntelliSense errors from newer C++ language features.

Note that my project compiles fine with C++ 17 code, it’s just that IntelliSense seems to be stuck at C++ 14.

Does anyone else have this problem or a solution (other than buying a different IDE or IntelliSense tool)?

2 Likes

It’s generally accepted that either:

  • Visual Assist
  • Resharper
  • Rider

are what you want to be using to develop for Unreal

Sadly that seems to be true.

1 Like