VSCODE:防止拆分编辑器左右打开同一文件 但是,我当前使用VSCODE作为我的主要编辑器,但是,当我将编辑器分为2时,它将两次打开相同的文件,例如左右(请参阅下图)。 有什么办法可以防止其操作...

问题描述 投票:0回答:1
有什么方法可以防止其在下一个编辑器上打开相同的文件?目前,我有我的自定义设置,可以从

Herey.

复制。

键键键的命令:enter image description hereworkbench.action.moveEditorToNextGroup 命令调色板中的命令:

View: Move Editor into Next Group
editor customization visual-studio-code
1个回答
28
投票
default键键:

ctrl

+
alt

+



键键键的命令:

workbench.action.moveEditorToPreviousGroup 命令调色板中的命令:View: Move Editor into Previous Group

默认钥匙键:
ctrl

+

Alt
+

您可能想要View: New Editor Group to the Right

命令和朋友。例如

{ "key": "ctrl+b", // whatever you want "command": "runCommands", "args": { "commands": [ "workbench.action.newGroupRight", "openEditors.newUntitledFile", // whatever you want ]}, } enter image description here

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.