Hello, i wanted to use VS code but i got this error just for opening a document, why?
Thanks
Hi @destrankir , when I set up my VSCode environment it was a little tricky. I don’t know if you are building from source or not, but there are a couple steps you might want to ensure you made.
1.) Build and/or launch the editor normally.
2.) From the editor, set your editor preferences to use VSCode
3.) Close the editor
4.) Run generateprojectfiles.bat on your project, or right click your project and do from there if not building source
5.) Open VSCode in your directory
My initial thought is that the .VSCode folder hasn’t been populated with the project files specific to code.
Hello, thanks for the answer,
I don’t know how to do step 4, I tried the others and i got the same error.
You should be able to right click your MyGame.uproject file and select Generate Project Files from the context menu
Hello, yes I done this:
I got the same result
I could solve those issues with the following steps:
Easy, worked perfectly! I have been using 4.25 and have dealt with the initial c++ errors with that (no defines), downgraded to 4.23 due to needing HTML packaging. This is so much easier.
Worked for me, thanks!
This solution doesn’t work if you have nested folders. Items/Weapons/Weapon.cpp cannot include Items/Item.h for example. Even if the files are correctly defined in the compileCommands.json
Bump. Also Public/Private.