Problem with intellisense in Visual Studio 2019

Hello, by the mid of this lecture I have got my intellisense broken, saying “There are too many errors for the IntelliSense engine to function properly, some of which may not be visible in the editor.

Error list is huge:

Error seems to be in PawnTank.cpp, but intellisense isn’t working also in all the other classes.
here is my PawnTank.cpp:

// Fill out your copyright notice in the Description page of Project Settings.

#include "PawnTank.h"
#include "GameFramework/SpringArmComponent.h"
#include "Camera/CameraComponent.h"

APawnTank::APawnTank()
{
	SpringArm = CreateDefaultSubobject<USpringArmComponent>(TEXT("Spring Arm"));
	SpringArm->SetupAttachment(RootComponent);

	Camera = CreateDefaultSubobject<UCameraComponent>(TEXT("Camera"));
	SpringArm->SetupAttachment(SpringArm);
}

// Called when the game starts or when spawned
void APawnTank::BeginPlay()
{
	Super::BeginPlay();

}

// Called every frame
void APawnTank::Tick(float DeltaTime)
{
	Super::Tick(DeltaTime);

}

// Called to bind functionality to input
void APawnTank::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
	Super::SetupPlayerInputComponent(PlayerInputComponent);

}


Hope someone could help me.

IntelliSense is pretty terrible with detecting errors in Unreal anyway so just change the error list to be Build instead of Build + IntelliSense, you can see the drop down menu in your screenshot to change that.

1 Like

I’ve resolved my problem from UE4 editor: File > Refresh Visual Studio 2019. It seems to have adjusted the intellisense.
I confirm, with UE intellisense is a real pain! Never had problems like this with Unity.

1 Like

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

Privacy & Terms