Send the configuration change event data to Extension host

This commit is contained in:
Sandeep Somavarapu
2017-10-18 08:39:29 +02:00
parent 56a9f4e652
commit b65cb01b3d
6 changed files with 80 additions and 22 deletions

View File

@@ -27,8 +27,8 @@ export class MainThreadConfiguration implements MainThreadConfigurationShape {
) {
const proxy = extHostContext.get(ExtHostContext.ExtHostConfiguration);
this._configurationListener = configurationService.onDidChangeConfiguration(() => {
proxy.$acceptConfigurationChanged(configurationService.getConfigurationData());
this._configurationListener = configurationService.onDidChangeConfiguration(e => {
proxy.$acceptConfigurationChanged(configurationService.getConfigurationData(), e.toJSON());
});
}