VS Code Dot Operator troubleshooting

Hello, so my Dot Operator intellisense isn’t working. Perhaps it’s a setting I accidentally turned off or something, not really sure. Here is the setting.json and the c_cpp_properties.json for the C/C++ extension

c_cpp_properties.json:

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "windowsSdkVersion": "10.0.18362.0",
            "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe",
            "cStandard": "c11",
            "cppStandard": "c++17",
            "intelliSenseMode": "msvc-x64"
        }
    ],
    "version": 4
}

setting.json

{
"C_Cpp.intelliSenseEngineFallback": "Enabled",
"C_Cpp.dimInactiveRegions": true,
"C_Cpp.default.cStandard": "c11",
"C_Cpp.default.cppStandard": "c++20",
"C_Cpp.default.intelliSenseMode": "msvc-x64"
}
"C_Cpp.default.cppStandard": "c++20",

That setting only alllows the following values:

c++98 | c++03 | c++11 | c++14 | c++17

Also try adding the unreal headers folder to your includePath array. (E.g. “C:\Program Files\Epic Games\UE_4.23\Engine\Source\Runtime\Core\Public”)

Just had to include the unreal headers like you said, the c++20 auto fixed itself.
Thanks for the help.

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

Privacy & Terms