在侧面板中时最大化 VSCode 中的终端

skd*_*skd 13 user-interface visual-studio-code

在 VSCode 的早期版本中,面板顶部有一个箭头图标,可用于最大化面板,例如终端。我不知道到底是哪个版本,但该按钮现在消失了,我无法找到等效的按钮。

我的问题是:如何最大化终端以占据整个 VSCode 窗口?有什么办法可以恢复按钮吗?

Lua*_*fal 13

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: 扩展终端按钮示例

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: 切换最大化面板快捷方式

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: 调整终端快捷方式的大小

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: 全屏,终端位于侧面


Rol*_*zar 6

要获得maximize arrow左侧面板上的...

在此输入图像描述

左键单击底部面板,然后选择Move Panel Left

在此输入图像描述

要获得maximize arrow底部面板上的...

在此输入图像描述

首先,按下Customize Layout按钮

在此输入图像描述

并选择Center面板对齐

在此输入图像描述

然后将面板移回底部。

在此输入图像描述


小智 5

我也让箭头消失了,但我设法把它带回来command:workbench.action.alignPanelCenter 但我不知道我一开始就没有对齐它

所以也许它会适合你