提交 92b2d108 编写于 作者: J Johannes Rieken

one file, one coding style

上级 ad9ab956
...@@ -28,12 +28,14 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape { ...@@ -28,12 +28,14 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape {
private _onDidChangeConfiguration = new Emitter<void>(); private _onDidChangeConfiguration = new Emitter<void>();
private _proxy: MainThreadConfigurationShape; private _proxy: MainThreadConfigurationShape;
private _data: IConfigurationData<any>; private _data: IConfigurationData<any>;
private _extHostWorkspace: ExtHostWorkspace;
private _configuration: Configuration<any>; private _configuration: Configuration<any>;
constructor(proxy: MainThreadConfigurationShape, data: IConfigurationData<any>, private extWorkspace: ExtHostWorkspace) { constructor(proxy: MainThreadConfigurationShape, data: IConfigurationData<any>, extWorkspace: ExtHostWorkspace) {
super(); super();
this._proxy = proxy; this._proxy = proxy;
this._data = data; this._data = data;
this._extHostWorkspace = extWorkspace;
} }
get onDidChangeConfiguration(): Event<void> { get onDidChangeConfiguration(): Event<void> {
...@@ -48,7 +50,7 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape { ...@@ -48,7 +50,7 @@ export class ExtHostConfiguration extends ExtHostConfigurationShape {
private get configuration(): Configuration<any> { private get configuration(): Configuration<any> {
if (!this._configuration) { if (!this._configuration) {
this._configuration = Configuration.parse(this._data, this.extWorkspace.workspace); this._configuration = Configuration.parse(this._data, this._extHostWorkspace.workspace);
} }
return this._configuration; return this._configuration;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册