VSCode-从包含路径中删除/ usr / include

时间:2018-11-19 01:07:27

标签: visual-studio-code vscode-settings include-path

如何使VSCode忽略/ usr / include,以防止VSCode / intellisense认为我可以访问常规标准库?

我当前的“ c_cpp_properties.json”文件如下所示:

{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "${workspaceFolder}/**",
                "/opt/intel/sgxsdk/include"
            ],
            "defines": [],
            "compilerPath": "/usr/bin/gcc",
            "cStandard": "c11",
            "cppStandard": "c++17",
            "intelliSenseMode": "clang-x64"
        }
    ],
    "version": 4
}

0 个答案:

没有答案