Skip to content

Commit 0da20f1

Browse files
committed
Remove the other sets of fields as well
1 parent 2619914 commit 0da20f1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Extension/src/LanguageServer/configurations.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ export class CppProperties {
141141
private knownCompilers?: KnownCompiler[];
142142
private defaultCStandard: string | null = null;
143143
private defaultCppStandard: string | null = null;
144-
private defaultIncludes: string[] | null = null;
145-
private defaultFrameworks?: string[];
146144
private defaultWindowsSdkVersion: string | null = null;
147145
private isCppPropertiesJsonVisible: boolean = false;
148146
private vcpkgIncludes: string[] = [];
@@ -378,9 +376,6 @@ export class CppProperties {
378376
if (isUnset(settings.defaultDefines)) {
379377
configuration.defines = (process.platform === 'win32') ? ["_DEBUG", "UNICODE", "_UNICODE"] : [];
380378
}
381-
if (isUnset(settings.defaultMacFrameworkPath) && process.platform === 'darwin') {
382-
configuration.macFrameworkPath = this.defaultFrameworks;
383-
}
384379
if ((isUnset(settings.defaultWindowsSdkVersion) || settings.defaultWindowsSdkVersion === "") && this.defaultWindowsSdkVersion && process.platform === 'win32') {
385380
configuration.windowsSdkVersion = this.defaultWindowsSdkVersion;
386381
}
@@ -968,13 +963,6 @@ export class CppProperties {
968963
if (!configuration.windowsSdkVersion && !!this.defaultWindowsSdkVersion) {
969964
configuration.windowsSdkVersion = this.defaultWindowsSdkVersion;
970965
}
971-
if (!origIncludePath && !!this.defaultIncludes) {
972-
const includePath: string[] = configuration.includePath || [];
973-
configuration.includePath = includePath.concat(this.defaultIncludes);
974-
}
975-
if (!configuration.macFrameworkPath && !!this.defaultFrameworks) {
976-
configuration.macFrameworkPath = this.defaultFrameworks;
977-
}
978966
}
979967
} else {
980968
// add compiler to list of trusted compilers

0 commit comments

Comments
 (0)