So I’m doing the beginner UE5 C++ course (a fantastic set of lectures so far!), at the point of having finished the intro Blueprint section “Warehouse Wreckage” and about to embark on the “Obstacle Assault” C++ section, and have this basic-setup problem (for the sake of the UE forum, I distilled it to a minimally-reproable example, hence no Obstacle Assault stuff but the factory-defaults 3rd-Person template) but I notice all questions on the VSCode + Linux combination seem to go mostly “Unresolved” in UE5 official forums, so wanted to ask here in the community — what exactly is your working Linux-based VSCode-based “UE5 C++ setup”?
To distill the above link in 2 pics:
I was so delighted to find the UE5 editor runs stably and well even without needing to build-from-source, simply via the redistributable ZIP from Epic, that I was quite optimistic about the C++ IDE integration also having a “well-working setup already shaped in”, but wrt. to error-diagnostics-reports it looks like that goes only for VS itself or maybe for Windows. What would be the hang up that causes those “C/C++ extension” error-diagnostics?
I did do Tools / Refresh Visual Studio Code Project
.
The good news: running the as-mentioned-in-this-particular-lecture ( #8_oa_ec5 ) build command works! So it seems on Linux the C/C++ extension is (or is currently set up to be) dumber than the actual compiler+linker tooling in the background, ie. doesn’t fully grok this project setup here with non-MS C++ compilers?
Right now it looks like I can do UE5 C++ing by disabling in-editor diagnostics for .cpp/.h
then! Very retro, might even warm up to that. But… anyone have a better setup that that?