mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 14:01:38 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user