microsoft/vscode

Missing Sublime Text command - Switch to single column view

waderyan opened this issue ยท 3 comments

While building this extension to map Sublime Text default keyboard shortcuts to VS Code, I found that this feature is missing.

The feature is switch to single column view.

Default Sublime Text keybindings
Windows / Linux: alt+shift+1
Mac: alt+cmd+1

The feature allows you to easily switch from split editor mode to a single editor.

Before switching:

sublime_two_columns

After switching:

sublime_single_column

There is more to this command, it actually takes the editors from other groups and moves them to the single group. We have to decide if we want to go with the full sublime editor layout model. I think one requirement for it is to support empty groups.

@bpasero I would love for the "Split editor" command to behave differently. Currently it splits the current editor, but it opens a copy of the same file. Most of the time you do not want a copy of the same file in the new editor. What you end up doing every single time is splitting the editor 3 times for example, open 2 new files in the 2 new editors, and then closing the original file that was opened in each editor.

Could we also have more than 3 editors open at the same time? Is there any reason to limit this? I prefer to have 4 editors open most of the time when writing Python or Go, but VSCode stops me from doing that unfortunately.

Lastly is there perhaps another issue revolving around the way VSCode handles multiple editor windows?

We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the VS Code Marketplace. Just in case, in a few simple steps you can get started writing your own extension. See also our issue reporting guidelines.

Happy Coding!