Skip to content
Snippets Groups Projects
Commit ef1666e4 authored by Christian ZHENG's avatar Christian ZHENG
Browse files

fix(view): new views are opened as tabs instead of cutting ide space in half +...

fix(view): new views are opened as tabs instead of cutting ide space in half + show help.gettingStarted button by default
parent edf0d660
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@
{
"id": "help",
"name": "Help",
"visibility": "collapsed"
"visibility": "visible"
}
]
},
......
......@@ -90,17 +90,12 @@ export abstract class WebviewBase implements Disposable {
async show(column: ViewColumn = ViewColumn.Beside): Promise<void> {
if (this.panel == null) {
this.panel = window.createWebviewPanel(
this.id,
this.title,
{ viewColumn: column, preserveFocus: false },
{
this.panel = window.createWebviewPanel(this.id, this.title, ViewColumn.Active, {
retainContextWhenHidden: true,
enableFindWidget: true,
enableCommandUris: true,
enableScripts: true,
},
);
});
this.disposablePanel = Disposable.from(
this.panel,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment