Consistent naming for ext host <-> main process communication

This commit is contained in:
Alex Dima
2016-07-12 21:14:43 +03:00
parent bdaa72b842
commit 217e0b56a8
16 changed files with 109 additions and 109 deletions

View File

@@ -28,14 +28,14 @@ export class ExtHostOutputChannel implements vscode.OutputChannel {
dispose(): void {
if (!this._disposed) {
this._proxy.clear(this._id, this._name).then(() => {
this._proxy.$clear(this._id, this._name).then(() => {
this._disposed = true;
});
}
}
append(value: string): void {
this._proxy.append(this._id, this._name, value);
this._proxy.$append(this._id, this._name, value);
}
appendLine(value: string): void {
@@ -43,7 +43,7 @@ export class ExtHostOutputChannel implements vscode.OutputChannel {
}
clear(): void {
this._proxy.clear(this._id, this._name);
this._proxy.$clear(this._id, this._name);
}
show(columnOrPreserveFocus?: vscode.ViewColumn | boolean, preserveFocus?: boolean): void {
@@ -51,11 +51,11 @@ export class ExtHostOutputChannel implements vscode.OutputChannel {
preserveFocus = columnOrPreserveFocus;
}
this._proxy.reveal(this._id, this._name, preserveFocus);
this._proxy.$reveal(this._id, this._name, preserveFocus);
}
hide(): void {
this._proxy.close(this._id);
this._proxy.$close(this._id);
}
}