Maximize terminal in VSCode when in side panel

Viewed 919

In previous versions of VSCode there was an arrow icon at the top of the panel that could be used to maximize the panel, for instance the terminal. I do not know exactly in which version but that button is now gone and I'm unable to find an equivalent.

My question is: how can I maximize the terminal so it takes the whole VSCode window? Is there any way to get the button back?

3 Answers

I also got the arrow disappeared, but i manage to bring it back by with command:workbench.action.alignPanelCenter But i don't know i un align it in the first place

So maybe it will work with you

Which version of VSCode are you using, and in which OS?

On Mac, and with 1.65.2 (the most recent update by now), I have it in the right corner, near the X button: Example expand terminal button

Shortcuts

Now talking about shortcuts to make your life easier, there are 2 you should be aware of. PS: Remember that to change any shortcuts, just go over VSCode Command Palette and type Keyboard Shortcuts to change them.

Maximise panel size

There are no default shortcuts for those, in both Windows and Mac. If you want to set any, the name of the shortcut is View: Toggle Maximized Panel: Toggle Maximized Panel shortcut

Increasing / decreasing terminal size

Now talking shortcuts, if you want to resize your terminal window, in Mac there's a native shortcut that allows to increase / decrease terminal size with Cmd + Ctrl + Arrow Up / Arrow Down. There's no default for Windows. If you want to set / change those shortcuts, they are called Terminal: Resize Terminal Down and Terminal: Resize Terminal Up: Resize terminal shortcuts

Terminal panel on the side

If you added your panel to either left or right, then the mark to make it fullscreen changes. After clicking on the arrow below, it'll hide all your files and make the terminal to run in the whole screen for VSCode: Fullscreen with terminal at the side

To get the maximize arrow on the left panel...

enter image description here

Left-click the bottom bottom panel, then choose Move Panel Left

enter image description here

To get the maximize arrow on the bottom panel...

enter image description here

First, press the Customize Layout button

enter image description here

And select Center Panel Alignment

enter image description here

Then move the panel back to the bottom.

Related