RedditPP Mascot

RedditPP

r/vscode • … • u/ExcitingSleep

C++ IntelliSense False Error: Code Compiles, but Include Is Still Red

Hello all, I have an IntelliSense problem. I have code that compiles and all, but the file is marked in red like it is missing the header file. Also, the VS Code project file is configured right.

{     "configurations": [         {             "name": "Win64",             "includePath": [                 "${workspaceFolder}\\src",                 "C:\\dev\\godot\\4.7\\godot-cpp\\include",                 "C:\\dev\\godot\\4.7\\godot-cpp\\gdextension",                 "C:\\dev\\godot\\4.7\\godot-cpp\\gen\\include"

],             "defines": [                 "_DEBUG",                 "UNICODE",                 "_UNICODE",                 "GDEXTENSION"             ],             "windowsSdkVersion": "10.0.26100.0",             "compilerPath": "cl.exe",             "cStandard": "c17",             "cppStandard": "c++17",             "intelliSenseMode": "windows-msvc-x64"         }     ],

"version": 4 }

![img](s5olmrs7awoh1)

c\_cpp\_properties.json:

![img](q7ao16e2awoh1)

— 0