VSCode issue - headers not recognised

Hello.

I’m having trouble to start the “Building Escape” course because my headers are not recognised in VSCode.

The errors say :
#1 - “Update compile_commands.json or includePath”
#2 -4 - “Impossible to open source files”

I have the feeling the number 1 is the reason it is not working, but I feel a bit lost on how to update the file, where I should include the header paths…

Thanks for your answer.

Unreal currently doesn’t update the compile commands when creating new files. So you will have to tell Unreal to do that whenever you create a new class; within Unreal:

File > Refresh VS Code Project

Thanks for the answer.
I did try refresh VSCode multiple times. The errors disappear for a few minutes and then come back… Any other idea?

Compiling is working though. I think these errors are just intellisense related.
Does not stop me from following the course for the moment, but it still is annoying :confused:

FYI, finally seem to have found the solution thanks to this guy :

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms