Refactor Configuration Service

- API to get a value given a key
- API to update value smartly
- Fine grained configuration change event
- Smart reload API
- Remove unnecessary APIs
This commit is contained in:
Sandeep Somavarapu
2017-10-05 23:13:18 +02:00
parent 7ec6ecda50
commit 75cf7dabb5
43 changed files with 969 additions and 750 deletions

View File

@@ -29,7 +29,7 @@ export class MainThreadConfiguration implements MainThreadConfigurationShape {
const proxy = extHostContext.get(ExtHostContext.ExtHostConfiguration);
this._configurationListener = configurationService.onDidUpdateConfiguration(() => {
proxy.$acceptConfigurationChanged(configurationService.getConfigurationData());
proxy.$acceptConfigurationChanged(configurationService.getConfiguration());
});
}