Intelisense or ?!

Hi

Same with new Fresh project. No settings change in VS. What happens ?
Cant use TQueue (and maybe some other thing) and all xxx::xxx seem to be invalide.
Sometime, no compile error, sometime i have… but no intelisense help too… Wtf ?

269886-qerror.png

269887-thread.png

Did you include those classes ( like #include "Containers/Queue.h" )?

Also, did you try to build it and checked the actual errors in the Output Window (IntelliSense is not reliable for UE4)?

I never needed to include anything more to use TQueue before !
Just create new project, add c++ class, and no more.

Include “Containers/Queue.h” or “RunnableThread.h” correct the issue, but dont explain what happens, why i need to add that now ? Why in fresh project too ? And in older project all is fine without that.

In older UE4 versions it was monolithic indeed, but at some point it has changed to improve build times, so now you’ll have to include everything you’d like to use.

Yeah,but i dont change the UE4 version between old and fresh project,so,its very weird, no ?!

I guess the issue is relative to VS, but my knowledges of VS is very limited !

You might have had an import last time, which brought many other things.

Anyways, the point is, always include specifically whatever you use, and don’t include unnecessary things, as it’ll affect your build times.

Okay, but that’s not an explanation of why VS changed behavior.

15 days ago, I created a ThirdPerson blueprint project in which I can use TQueue, threads and references to UWorld without having to add any headers. There has been no Unreal Engine update since, why when I create a project now, I do not have the same behavior anymore?

I agree on the build time, but me it annoys me to waste time looking for his headers for such simple things. So I would like to find the same behavior in my VS.