Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View: Toggle Zoom Into Focused Editor in Group - tmux-like maximizing of only one editor #193322

Closed
michalpokusa opened this issue Sep 18, 2023 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@michalpokusa
Copy link

michalpokusa commented Sep 18, 2023

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
    Screenshot 2023-09-18 031910
  • command or keyboard shortcut View: Toggle Zoom Into Focused Editor in Group is used when focused on file3.txt editor
  • temporarily other editors, both file and terminal ones are hidden, and the file3.txt editor is displayed as if it was the only one open at this time
    Screenshot 2023-09-18 032647
  • 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 Group is 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.

@michalpokusa michalpokusa changed the title View: Zoom Into Focused Editor in Group - tmux-like maximizing of only one editor View: Toggle Zoom Into Focused Editor in Group - tmux-like maximizing of only one editor Sep 18, 2023
@alexr00 alexr00 assigned bpasero and unassigned alexr00 Sep 18, 2023
@bpasero
Copy link
Member

bpasero commented Sep 18, 2023

/duplicate #16927

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 18, 2023
@vscodenpa
Copy link

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants