Issue with include statements in VScode

I am getting errors for all my include statements in VS code:

With this error I am not able to compile the code in VScode and can only use live code in UE5.

I thought that the course addressed this at some point but I can not find where. It talks about editing the include path but I do not know how to do that.

I looked for a tutorial on how to edit the inculde path and I have the Visual studio and “Desktop development with C+”. Other then that I could not figure how to implement the outlined instructions in a way that would solve my issue.

Any help would be appreciated.

Do you have the workspace open? Could you show your full VS Code window?

It appears that it can access the classes and headers that I made myself but not the ones provided by Unreal.

That shows you aren’t using the workspace. If you use Tools > Open VS Code project, what do you get?

I don’t have a “tools” command that I can see in the menus. Where do I find that?

I’m talking about the Unreal toolbar

image


Is there supposed to be an option in here that says “open VS code project”?

I am guessing that mabey it should be where the Generate command is.

You first need to generate the project files.

Ok it is working now. Thanks for your help.

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

Privacy & Terms