-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Description
This Feature Request is about either adding new setting to Zen Mode, or preferably a new command that would work similarly to tmux zoom feature.
The main difference would be that currently it is only possible to maximize editor group and or toggle Zen Mode thus hiding panels sidebard etc.
The reason why I believe this feature would be useful it a scenario like this:
- someone has multiple file or terminal editors opened, maybe even sidebar or panel opened
- it is becoming hard to see a specific file in "full context" (sure someone could maximize it, but this would rearange other windows and still left the visible parts of other editors on the edges of the editor area)
- one wants to make changes to a file that is opened in really small editor, lets say
file3.txt

- command or keyboard shortcut
View: Toggle Zoom Into Focused Editor in Groupis used when focused onfile3.txteditor - temporarily other editors, both file and terminal ones are hidden, and the
file3.txteditor is displayed as if it was the only one open at this time

- potentially it could be also possible to adjust whether sidebar/panel etc. are also hidden on entering this mode, or if this mode stays open after restart
- one makes changes to the file and wants to go back to original view state
- command
View: Toggle Zoom Into Focused Editor in Groupis ran once again (alternative to it could be a looking glass icon nexxt to file name or something like this) - original view state from first image is restored without any changes to editor layout
This behaviour could be repeated in such a way that someone always works on "full-screen" editor while also preseving the layout of open editors. This feature is present in tmux, and enables a very efficient way of maanging multiple so called panes inside single window, but in tmux it is possible to create multiple windows.
In VSCode there is no such option which is understandable (multiple windows), but the ability to zoom in and out of specific editor (aka tmux pane) inside a VSCode instance (aka tmux window), in my opinion, would be more that enough.
Lastly, there could be multiple option that modify the behaviour of this zoom view, similarly to existing Zen Mode.