956
957
private updatePropertyDefaultValue(key: string, property: IRegisteredConfigurationPropertySchema): void {
958
>
const configurationdefaultOverride = this.configurationDefaultsOverrides.get(key)?.configurationDefaultOverrideValue;
configurationRegistry.ts
959
>
let defaultValue = undefined;
960
>
let defaultSource = undefined;
961
>
if (configurationdefaultOverride
962
&& (!property.disallowConfigurationDefault || !configurationdefaultOverride.source) // Prevent overriding the default value if the property is disallowed to be overridden by configuration defaults from extensions
964
defaultValue = configurationdefaultOverride.value;
965
defaultSource = configurationdefaultOverride.source;
966
}
968
defaultValue = property.defaultDefaultValue;
969
defaultSource = undefined;
970
}
972
defaultValue = getDefaultValue(property.type);
973
}
975
>
property.defaultValueSource = defaultSource;
976
>
}
977
}
978