diff --git a/src/vs/workbench/services/configuration/common/configurationModels.ts b/src/vs/workbench/services/configuration/common/configurationModels.ts index 90def0b9e151bd458d3a8f94ee5c52949aeb8a1d..0d0fda5d2c1949f9973d683572046133f089d8ca 100644 --- a/src/vs/workbench/services/configuration/common/configurationModels.ts +++ b/src/vs/workbench/services/configuration/common/configurationModels.ts @@ -160,9 +160,7 @@ export class Configuration extends BaseConfiguration { const { added, updated, removed } = compare(this.user, user); let changedKeys = [...added, ...updated, ...removed]; if (changedKeys.length) { - const oldValues = changedKeys.map(key => this.getValue(key)); super.updateUserConfiguration(user); - changedKeys = changedKeys.filter((key, index) => !equals(oldValues[index], this.getValue(key))); } return new ConfigurationChangeEvent().change(changedKeys); } @@ -171,9 +169,7 @@ export class Configuration extends BaseConfiguration { const { added, updated, removed } = compare(this.workspace, workspaceConfiguration); let changedKeys = [...added, ...updated, ...removed]; if (changedKeys.length) { - const oldValues = changedKeys.map(key => this.getValue(key)); super.updateWorkspaceConfiguration(workspaceConfiguration); - changedKeys = changedKeys.filter((key, index) => !equals(oldValues[index], this.getValue(key))); } return new ConfigurationChangeEvent().change(changedKeys); } @@ -184,9 +180,7 @@ export class Configuration extends BaseConfiguration { const { added, updated, removed } = compare(currentFolderConfiguration, folderConfiguration); let changedKeys = [...added, ...updated, ...removed]; if (changedKeys.length) { - const oldValues = changedKeys.map(key => this.getValue(key, { resource })); super.updateFolderConfiguration(resource, folderConfiguration); - changedKeys = changedKeys.filter((key, index) => !equals(oldValues[index], this.getValue(key, { resource }))); } return new ConfigurationChangeEvent().change(changedKeys, resource); } else {