【VScode】——includePath设置

C/C++

在vscode的c_cpp_properties.json中设置includePath时,如果有多个相同的头文件,在查看的时候,会按照includePath中的路径次序进行索引。

            "includePath": [
                "${workspaceFolder}/demo/fwd_cpp/include/**",
                "${workspaceFolder}/demo/fwd_cpp/include/common/**",
                "${workspaceFolder}/**",
            ],

你可能感兴趣的:(Ubuntu,vscode,工具)