VS Code: Code shows errors in IDE, yet builds are successful

:DDDDD

This is it!!! It totally works :smiley:
Thank you so much!!

Work for me, Just change PROJECT_NAME to yours:

"ORIGINAL_FILE_NAME='UE4Editor-PROJECT_NAME.dll'",
"UE_PROJECT_NAME=PROJECT_NAME",
"PROJECT_NAME_API=",

By the way, you can find the Definitions at

YOUR_PROJECT_PATH/Intermediate/ProjectFiles/PROJECT_NAME.vcxproj (NMakePreprocessorDefinitions)

without open Visual Studio

But I will use this in the vs code settings.

"C_Cpp.intelliSenseEngine": "Tag Parser",

For the reason that the when you flesh vs code in unreal engine, the c_cpp_properties.json will flesh witch annoyed me.

1 Like

This worked for me yesterday :slight_smile: But adding a new C++ Class or refreshing the Project code wipes the settings, any workarounds?

so set Intelli Sense Engine to β€œTag Parser" could fix this. we can use the Default after they fix the new engine.

about Engine.h: