#87246 use container descriptor to register view container

This commit is contained in:
Sandeep Somavarapu
2019-12-18 12:50:39 +01:00
parent 8bc277fa7b
commit 833250951b
10 changed files with 56 additions and 38 deletions

View File

@@ -313,7 +313,7 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
if (!viewContainer) {
viewContainer = this.viewContainersRegistry.registerViewContainer(id, ViewContainerLocation.Sidebar, true, extensionId);
viewContainer = this.viewContainersRegistry.registerViewContainer({ id, hideIfEmpty: true, extensionId }, ViewContainerLocation.Sidebar);
class CustomViewPaneContainer extends ViewPaneContainer {
constructor(