From 7ab8934cb2a252696067ae12e0ffec8e3f3819b7 Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 24 May 2016 15:25:41 +0200 Subject: [PATCH] open editors view should always be visible in no folder workspace fixes #6701 --- src/vs/workbench/parts/files/browser/explorerViewlet.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/parts/files/browser/explorerViewlet.ts b/src/vs/workbench/parts/files/browser/explorerViewlet.ts index 0863d804356..13b12655420 100644 --- a/src/vs/workbench/parts/files/browser/explorerViewlet.ts +++ b/src/vs/workbench/parts/files/browser/explorerViewlet.ts @@ -60,7 +60,8 @@ export class ExplorerViewlet extends Viewlet { this.viewletContainer = parent.div().addClass('explorer-viewlet'); return this.configurationService.loadConfiguration().then((config:IFilesConfiguration) => { - this.openEditorsVisible = config.explorer.openEditors.visible && config.explorer.openEditors.maxVisible !== 0; + // Open editors view should always be visible in no folder workspace. + this.openEditorsVisible = !this.contextService.getWorkspace() || (config.explorer.openEditors.visible && config.explorer.openEditors.maxVisible !== 0); if (this.openEditorsVisible) { this.splitView = new SplitView(this.viewletContainer.getHTMLElement()); -- GitLab