vscode 模糊部分代码_vscode设置 - 将Visual Studio代码中的面板移动到右侧
vscode设置 - 将Visual Studio代码中的面板移动到右侧
在Visual Studio代码中,面板部分默认位于底部。 如何将其移至右侧? 例如,在下图中,面板(D部分)位于底部,而我希望它移动到右侧,即在编辑器组(C部分)中显示README.md编辑器的区域。

图片来源:([https://code.visualstudio.com/images/codebasics_hero.png)]
9个解决方案
203 votes
截至2018年10月(版本1.29),@ mvvijesh的答案中的按钮不再存在。
您现在有2个选项。右键单击面板的工具栏(面板上的其他任何位置都不起作用)并选择“向右/向下移动面板”:

或者从命令面板中选择“查看:切换面板位置”。
来源:VScode更新说明:[https://code.visualstudio.com/updates/v1_29#_panel-position-button-to-context-menu]
dcastro answered 2019-09-03T11:10:26Z
112 votes
我在Mac上使用Visual Studio Code v1.24.0。
默认情况下,Panel将显示在底部(您也可以更改默认值。请参阅@Forres的答案:将Visual Studio Code中的Panel移动到右侧)
这是VS Code Panel的底部/右侧切换按钮:

单击此按钮后,Panel将向右移动。

搬回去虽然有点棘手。 如您所见,某些按钮是隐藏的。 这是因为面板右侧对齐时的宽度太小。 我们需要扩展列以查看所有按钮。
这就是它如何看待扩展:

现在,如果要将面板移回底部,请再次单击切换底部/顶部按钮。
mvvijesh answered 2019-09-03T11:09:43Z
107 votes
对于寻找答案的人(关于如何移动侧面板):
你可以按
"workbench.sideBar.location": "right" + ,(OSX上的cmd + ,)
并将以下选项添加到您的用户设置JSON文件:
"workbench.sideBar.location": "right"

Forres answered 2019-09-03T11:11:15Z
14 votes
不知道为什么这里没有提到这个但是这个设置对我有用了:
"workbench.panel.defaultLocation": "right"
Stefano answered 2019-09-03T11:11:46Z
9 votes
Click menu option "View" --> "Move to Side Bar Right". Once side bar moves to right, option "Move to Side Bar Right" changes to "Move to Side Bar Left".
干杯
answered 2019-09-03T11:13:08Z
5 votes
对于Visual Studio Code v1.31.1,您可以通过“视图”菜单切换面板会话。
转到“查看”菜单。
通过“外观”选项,单击“Toggle Panel Position”

charming mel answered 2019-09-03T11:13:45Z
5 votes
希望这会对某人有所帮助。
-> open to keyboard shortcur
-> search for "workbench.action.togglePanelPosition"
-> assign your desired shortcut
我已经指定了键绑定“cmd +`”
{
"key": "cmd+`",
"command": "workbench.action.togglePanelPosition"
}
现在我可以通过按“cmd +”来切换终端
sh6210 answered 2019-09-03T11:17:29Z
4 votes
您可以在内幕版本中执行相同的操作,右上角有一个选项可以切换到面板侧边栏[https://code.visualstudio.com/insiders/]
底部的终端

在右侧的终端

pulankit answered 2019-09-03T11:18:06Z
3 votes
我不知道它改变了哪个版本但是1.11.2在View选项卡中有一个选项可以将左侧栏改为右侧,反之亦然
Nickos answered 2019-09-03T11:18:31Z
更多推荐
所有评论(0)