You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open 2 more editors to get three-panel view by hitting "cmd+"
Close file in right editor
Expected: File in right editor closes but editor/panel stays expanded, retaining desired three-panel view.
Result: File closes but so does editor, so that only 2 editors in 2-panel view are left.
Request:
Allow empty editors/panels. If all tabs are closed for an editor it should stay open. (An option for this would be great i.e. workspace.allowEmptyEditors, workspace.dontCloseEmptyEditor or whatever.)
Context/User-Perspective:
tl;dr: Just because I closed the last tab for an editor doesn't mean I want the layout to change. I just don't want that file open anymore.
My reasoning for this preference is that I like to keep my workspace "clean" as it were. I like to focus on the code I'm currently working on and only really keep other files open as reference material. Visually speaking, I also like having the file I'm currently working on centered. Currently I have to keep adjusting the editor's widths depending on how many are open and which files I've closed. It'd be nice to just have a fixed 3 panel layout like what is possible in SublimeText.
Examples
The behavior I'm looking for can be seen in SublimeText:
Notice here the right tab-group has no files but is still there.
And in this one I've closed all the files in the left tab group but it stays open. In VS Code this would cause the left editor to collapse and the middle editor to be the first.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue. Please use the issue search next time to see if there is a duplicate already. In this case, the issue has already been reported.
Steps to reproduce:
Expected: File in right editor closes but editor/panel stays expanded, retaining desired three-panel view.
Result: File closes but so does editor, so that only 2 editors in 2-panel view are left.
Request:
Allow empty editors/panels. If all tabs are closed for an editor it should stay open. (An option for this would be great i.e.
workspace.allowEmptyEditors
,workspace.dontCloseEmptyEditor
or whatever.)Context/User-Perspective:
tl;dr: Just because I closed the last tab for an editor doesn't mean I want the layout to change. I just don't want that file open anymore.
My reasoning for this preference is that I like to keep my workspace "clean" as it were. I like to focus on the code I'm currently working on and only really keep other files open as reference material. Visually speaking, I also like having the file I'm currently working on centered. Currently I have to keep adjusting the editor's widths depending on how many are open and which files I've closed. It'd be nice to just have a fixed 3 panel layout like what is possible in SublimeText.
Examples
The behavior I'm looking for can be seen in SublimeText:
Notice here the right tab-group has no files but is still there.
And in this one I've closed all the files in the left tab group but it stays open. In VS Code this would cause the left editor to collapse and the middle editor to be the first.
The text was updated successfully, but these errors were encountered: