why my rider put this(GetLocalPlayer()) as error and didn't detect it on my intellisense?

APlayerCharacter *PlayerController = Cast<APlayerCharacter>(Controller);
    if (PlayerController)
    {
        ULocalPlayer::GetSubsystem<UEnhancedInputLocalPlayerSubsystem>(PlayerController->GetLocalPlayer()); //<--- this one
    }
}

over at my header file, i’ve already

#include "Engine/LocalPlayer.h"
#include "EnhancedInputComponent.h"
#include "EnhancedInputSubsystems.h"

and even on my EnhancedInput to my Project.Build.cs file:

PublicDependencyModuleNames.AddRange(new[]
{
	...,
	"EnhancedInput"
});

Any reason why? I have 0 clue as to why my Rider didnt detect GetLocalPlayer()) ?

Not sure what you mean by not detect but if you’re wondering why rider’s warning you about

ULocalPlayer::GetSubsystem<UEnhancedInputLocalPlayerSubsystem>(PlayerController->GetLocalPlayer());

It’s because you call GetSubsystem but do nothing with the result in an optimized build. The compiler won’t even include this code as it does nothing at all. This entire statement is effectively a no-op.

APlayerCharacter *PlayerController = Cast<APlayerCharacter>(Controller);
    if (PlayerController)
    {
        ULocalPlayer::GetSubsystem<UEnhancedInputLocalPlayerSubsystem>(PlayerController->GetLocalPlayer()); //<--- this one
    }
}