Rename webview.show to webview.reveal

Make it more clear that this command only reveals an existing webview

Fixes #44580
This commit is contained in:
Matt Bierner
2018-03-20 16:16:05 -07:00
parent 683f86041c
commit 67d8eebaf4
6 changed files with 9 additions and 9 deletions

View File

@@ -87,7 +87,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape {
webview.setHtml(value);
}
$show(handle: WebviewHandle, column: Position): void {
$reveal(handle: WebviewHandle, column: Position): void {
const webviewInput = this.getWebview(handle);
if (webviewInput.position === column) {
this._editorService.openEditor(webviewInput, { preserveFocus: true }, column);