skd
skd

Reputation: 1977

Maximize terminal in VSCode when in side panel

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?

Upvotes: 14

Views: 7826

Answers (5)

Serious Angel
Serious Angel

Reputation: 1577

In version 1.83.1 (2023-10-10), it is also possible via context menu on tab section in the panel. For example:

1

Upvotes: 0

Rolazar
Rolazar

Reputation: 370

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

enter image description here

Left-click the 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.

enter image description here

Upvotes: 9

Karl Fasick
Karl Fasick

Reputation: 53

Panel can be maximized when centered. Example: If panel is not centered and the Maximize button is missing you also cannot use the command by hitting

Shift-Ctrl-P View: Toggle Maximize Panel

Fix: run these commands (press Shift-Ctrl-P then begin typing)

  1. First command will enable the maximize button

View: Set Panel alignment to Center

  1. Second command will now work to Maximize (or just press the button that shows up now)

View: Toggle Maximize Panel

Blue and skube have the right answer to the original question. I cannot comment so summarize an answer using commands that can be pasted to verify.

Upvotes: 1

Blue
Blue

Reputation: 61

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

Upvotes: 6

Luan Naufal
Luan Naufal

Reputation: 1434

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

Upvotes: 16

Related Questions