From 5fa32affe91b9ba07c7112cc3fd73c11c0fbfa54 Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 21 Jan 2016 15:34:30 +0100 Subject: [PATCH] vscode.d.ts make column argument deprecated --- src/vs/vscode.d.ts | 4 ++-- src/vs/workbench/api/node/extHostOutputService.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index 278937b88ca..d7db4c329e4 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -2420,10 +2420,10 @@ declare namespace vscode { /** * Reveal this channel in the UI. - * + * @param column @deprecated **This argument is deprecated.** The column in which to show the channel, default in [one](#ViewColumn.One). * @param preserveFocus When `true` the channel will not take focus. */ - show(preserveFocus?: boolean): void; + show(column?: ViewColumn, preserveFocus?: boolean): void; /** * Hide this channel from the UI. diff --git a/src/vs/workbench/api/node/extHostOutputService.ts b/src/vs/workbench/api/node/extHostOutputService.ts index a455d036c58..6712976624d 100644 --- a/src/vs/workbench/api/node/extHostOutputService.ts +++ b/src/vs/workbench/api/node/extHostOutputService.ts @@ -47,7 +47,7 @@ export class ExtHostOutputChannel implements vscode.OutputChannel { this._proxy.clear(this._name); } - show(preserveFocus?: boolean): void { + show(column?: vscode.ViewColumn, preserveFocus?: boolean): void { this._proxy.reveal(this._name, preserveFocus); }