Merge pull request #1557 from github/aeisenberg/view-column

Ensure results view is opened in column beside
This commit is contained in:
Andrew Eisenberg
2022-09-30 09:22:21 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export abstract class AbstractWebview<ToMessage extends WebviewMessage, FromMess
this.panel = Window.createWebviewPanel(
config.viewId,
config.title,
{ viewColumn: ViewColumn.Active, preserveFocus: true },
{ viewColumn: config.viewColumn, preserveFocus: config.preserveFocus },
{
enableScripts: true,
enableFindWidget: true,

View File

@@ -553,7 +553,7 @@ async function activateWithInstalledDistribution(
item,
);
qhm.completeQuery(item, completedQueryInfo);
await showResultsForCompletedQuery(item as CompletedLocalQueryInfo, WebviewReveal.NotForced);
await showResultsForCompletedQuery(item as CompletedLocalQueryInfo, WebviewReveal.Forced);
// Note we must update the query history view after showing results as the
// display and sorting might depend on the number of results
} catch (e) {