-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Allow maximizing/restoring a single terminal or editor pane #47661
Comments
(Experimental duplicate detection) |
This has not been asked for before but I'm aware of the feature. You currently have the ability to maximize the panel ( |
I know about that toggle, but it's not the same thing 😄 Offtopic: And that toggle doesn't really do what it says on the tin 😛 (it doesn't maximize "fully") |
Found a solution (which should be included by default IMO): |
@FancyBanana I think the OP wants the active terminal split pane to go full screen, including the side bar. Your issue is a problem though which I'll fix up now. |
@FancyBanana coming in 1.28 aacaecc |
Yes, I want the active terminal split pane to go full screen, filling at least the terminal side bar to 100%. Ideally, if the terminal evolves and can be placed anywhere, including a normal tab, the terminal will have the ability to be maximized and terminal splits will also have this ability (+ the ability to be restored to their previous size). Check out tmux for clarification: https://sanctum.geek.nz/arabesque/zooming-tmux-panes/ (there's even a nice animation showing exactly what I mean) |
Maximized terminal pane would be nice. VS Code makes as a nice host for a Powershell console. |
I use vscode in i3 with 3 terminals tiled below. I'm moving to inbuilt terminal now that it has splitting but I used to fullscreen a terminal often when doing things like |
FYI @sbatten, this could be generalized for editors and the other panels as well. |
I too was looking for this functionality as well (or rather, in a roundabout way). I had been attempting to move a split terminal back to its own panel (uniquely accessible via the active terminals dropdown that exists) so that I could then see more of the context (and then could optionally use the existing terminal "Maximize Panel Size" functionality to see even more of it) . Please consider adding this! Thanks |
Reassigning as this should be a feature that works across editors and maybe arbitrary views as well. |
I would like to have a key binding to maximize terminal to full screen with no VS code interface. Something like I have just started a new "Windows terminal". With the same key binding terminal should be restored to its previous size. |
In my experience there is more similar keyboard shortcuts missing, not least such a small thing as resetting the side panel width (just like it behaves when you double click its border). Having the ability to in-/decrement the size like we can with the terminal would also be great. Especially if there were, as many have requested before, the option to decide for yourself how large the steps should be. This could also be implemented as "resize currently focused pane" and the ability to move focus between different sections could be improved. |
I'm a heavy vim/tmux user. I've got my vim keybindings setup in vscode, and tmux in my terminal. I'm very accustomed to ctrl+b z to zoom into a pane, and out. Sometimes in vim I go zen mode. So in a terminal, I can already zoom in and zen 80% wide from 10% off the left, using two keybindings. I put in my vote for this to be added to vscode. Vscode has been the only contender that could pull me away from my setup (that I can scp into any environment or use remotely). |
Is this planned to be done? |
Very good demo of this functionality: 190786962-01047891-38b1-4e87-bd9b-e8eca9acc8b8.mp4From https://github.com/anuvyklack/windows.nvim. Instead of having this feature builtin in the editor, with the right exposed apis we can have an extension providing this feature. Some APIs I think are missing and required for this:
|
Only having horizontal splits that can't be maximized makes the terminal too cramped and hard to work with. |
I'd be surprised if this hasn't been asked before, but tmux supports a thing it calls "pane zooming", if I recall correctly.
Basically once you start splitting a window, vertically, horizontally, it doesn't matter, you press a certain keyboard shortcut and the current pane is "maximized", hiding all the other panes. Text is reflowed, so you actually see the former pane as a full window. This is incredibly useful once you launch some command that has a ton of unexpected output that you want to check out.
When you're done you press the same keyboard shortcut and the pane "reverts", showing the previous layout. The text in the pane is reflowed again to make it fit in the smaller pane size.
Very, very handy when you're moving through terminals quickly and you want to check out something.
The text was updated successfully, but these errors were encountered: