提交 7ab8934c 编写于 作者: I isidor

open editors view should always be visible in no folder workspace

fixes #6701
上级 03286170
......@@ -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());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册