#include "GameFramework/Actor.h" errors & intellisense not autocompleting

I have created a new class and the header files show red lines under include

But the code is compiling with no errors but I don’t get autosuggestions anymore. It worked well with the bullcow game.

I am currently using Unreal 4.26.2. Any ideas on how to fix this (autosuggest one) would be welcome

Did you use the Unreal Editor to add the class in, or did you do it via Code?

Hi,
I used Unreal editor to add a new actor component on the door.
Thanks.

here is a snapshot of the problem

If you build in unreal, does it build or give you the same error?

In Unreal do File > Refresh VS Code Project.

2 Likes

Thank you sir, it worked like a charm!!

Yes. After refreshing the VSCode project in Unreal fixed it.
Thank you!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms