When using VSCode with Unreal Engine 5.1, "CoreMinimal.h" error appears.

When using VSCode with Unreal Engine 5.1, “CoreMinimal.h” error appears. I tried including the path in the c_cpp_properties.json file as well, but I keep getting errors… Help!!