I did install the extension v1.2.0 and did a fresh download of that BullCowGame and launched it from Unreal Engine. But the error is still persisting for me right now.
Go to BullCowGame-starter-kit\Intermediate directory
Delete the Build folder that’s inside.
Open VSCode and rebuild
I noticed you’re Building the 32-bit version. Do you mean to do this? Have you tried the 64-bit Build?
Remember when you’re building inside VSCode that you need to choose the Editor version of the Build process: “BullCowGameEditor Win64 Development Rebuild”. See how it has Editor at the end of the project name.
If you get it working don’t use Rebuild. You would usually choose the Build version. This makes building faster because it will only compile the stuff you’ve changed:
“BullCowGameEditor Win64 Development Build”.
If you run into problems it’s always good to try Rebuild though.
Oh thanks for pointing me out regarding the build. I just did a cursory glance on your solution above and I think I’ve unintentionally ignored the “win64”; apologies regarding that
Even though I followed your steps regarding the deletion of build folder and rebuilding it - this time with “BullCowGameEditor Win64 Development Build”, I’m afraid to say that I’m still facing the same intellisense issue in VS Code.
Another thing I see is when you’re Building you have the UE4 Editor open. You should close it when you do this. It creates different dll files every time you have it open and Build. I’ve noticed strange behavior when doing this. Just one more quirk when Building and something to avoid doing.
I made a guide for Intellisense errors but it seems your bug is different from what I’ve encountered. I think the only thing we haven’t done would be an Intellisense reset. You can check out Step 4 of my guide for those instructions:
Not alone here bud! I was surprised to find such recent forum posts on the issue. I’ve also tried downgrading to Intellisense to 1.2.2 and following the rebuild that boocs posted, no luck so far.
After cleaning it up, I’ve extracted the BullCowGame-starter-kit.zip file and opened up the VS code and downloaded and installed the c/c++ extension (v1.2.2) and the intellisense works like charm!