默认在底部。

例如,在下面的图像中,面板(部分D)是在底部,而我想让它移动到右侧,即在README。md编辑器显示在编辑器组(C节)。

图片来源:(https://code.visualstudio.com/images/codebasics_hero.png)


当前回答

截至2018年10月(版本1.29),@mvvijesh的答案中的按钮不再存在。

现在你有两个选择。 右键单击面板工具栏(面板上其他地方都不行),选择“向右/向下移动面板”:

或者从命令面板中选择“查看:切换面板位置”。

来源:VSCode更新说明:https://code.visualstudio.com/updates/v1_29#_panel-position-button-to-context-menu

其他回答

单击菜单选项查看>外观>向右移动侧栏或在settings.json中:

“workbench.panel.defaultLocation”:“正确”

在1.55.2版中。

进入“视图”—“>外观”—“>”向右移动面板

希望这能帮助到一些人。

->打开键盘快捷方式

>搜索“workbench.action.togglePanelPosition”

->指定你想要的快捷方式

我指定了键绑定"cmd+ ' "

{
  "key": "cmd+`",
  "command": "workbench.action.togglePanelPosition"
}

现在我可以通过按“cmd + '”来切换终端

“Wokbench.panel.defaultLocation”:“正确”

使用CTRL+打开设置。,搜索终端,你应该看到这个设置在顶部。从设置说明下面的下拉菜单中,选择正确。请看下面的截图。

在1.64.2版本中,他们恢复了视图命令:向右(或向左)移动面板。你可以把面板(通常有终端/输出/等)。在它)作为一个垂直的列在左边或右边-旁边的侧栏或侧板,如果你愿意。


他们正在修复1.64版本带来的变化,应该会在2022年2月8日发布。

只需使用视图:从命令面板中向右/左/下移动面板命令。


[过时的答案,见上文。]

从Stable v1.64开始,设置"Wokbench.panel.defaultLocation": "right"将不再工作。

Replacing Panel Location As mentioned above, the new Side Panel provides similar functionality as moving the Panel to the left or right, yet improves on this by not forcing the move of the original panel. Along with view drag and drop between panels, the new Side Panel is replacing the option to move the bottom Panel. In light of that, we have deprecated the workbench.panel.defaultLocation setting as well as the Move Panel... commands in favor of similar commands Move Views From Panel To Side Panel (workbench.action.movePanelToSidePanel) and Move Views From Side Panel To Panel (workbench.action.moveSidePanelToPanel). The old commands will remap to the appropriate new command providing the similiar behavior. Though, we recommend updating your keybindings to the new commands.

从https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_64.md replacing-panel-location

这有利于使用新的侧面板,它可以添加到之前的侧栏(资源管理器,SCM视图的传统位置)和面板(终端,输出等传统位置)。你可以有三种面板类型的视图。详见v1.64版本说明:https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_64.md#new-side-panel