Skip to content

Commit b5e00c0

Browse files
yunlingzsean-mcmanus
authored andcommitted
disable recursive includePath for ${workspaceFolder} in default c_cpp_properties.json (#2059)
1 parent 9b33938 commit b5e00c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/configurations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export class CppProperties {
207207

208208
if (!settings.defaultIncludePath) {
209209
// We don't add system includes to the includePath anymore. The language server has this information.
210-
configuration.includePath = ["${workspaceFolder}/**"].concat(this.vcpkgIncludes);
210+
configuration.includePath = ["${workspaceFolder}"].concat(this.vcpkgIncludes);
211211
}
212212
if (!settings.defaultBrowsePath) {
213213
// We don't add system includes to the includePath anymore. The language server has this information.

0 commit comments

Comments
 (0)