Intellisense not detecting Public Header Files

So I am wondering if this is just me. When I create a BaseCharacter class and cpp file using the unreal editor create c++ class I picked the public folder option. When I open up the private BaseCharacter.cpp file I get an intellisense error stating that it could not find the BaseCharacter.h file.

This there something I have to do to fix this or this some weird error that cant be fixed.

Hello, Mohhamed

I am sorry to hear about you issue.
Please note that IntelliSense can sometimes provide false-positive errors of this kind.
However, your project should compile successfully.

If you like to learn more about setting up Visual Studio for Unreal Engine 4, please go here:

Hope this helped!

Good luck!

Hello, I know it’s been a long time since you had this issue but if anyone else needed help - just rebuilding your project files (right click on .uproject file and “Generate project files”) will do the trick. :slight_smile:

1 Like

For the upcoming research results you will have 3 quick result.

1- include your public folder

#include "Public\AnyClass.h"

2- Do not distinguish your c++ files into public or private.

3- Buy VAX (Visual Assist) but costs 99$