Intellisense problem with include

Hi all!!
So first issue so far, trying to understand why.

I have created a “Tank” .h and .cpp from the engine and pubblic as the lecture. Anyway I ended up with Intellisense not working, and without any suggestion while writing. Also is not able to see anything and is all marked as error:

IntelliIssue

This is solved changing the include in this way:

#include “…/Public/Tank.h”

Fixed

pretty strange, any explanation on this? This should be automatically done by the unreal or I need to change it every time?

Same apply to any other created class of course

Right clicking the BattleTank.uproject file and selecting “Generate Visual Studio project files” then re-opening visual studio fixed the issue for me.

Privacy & Terms