简体   繁体   English

VSCode:阻止拆分编辑器左右打开同一个文件

[英]VSCode: Prevent split editor to open same file left & right

I'm currently using VSCode as my main editor, however, when I split the editor into 2, it opens the same file twice, like left & right (see image below). 我目前正在使用VSCode作为我的主编辑器,但是,当我将编辑器分成2时,它会打开两次相同的文件,如左右两种(见下图)。

在此输入图像描述 Is there any way to prevent it from opening the same file on the next editor? 有没有办法阻止它在下一个编辑器上打开同一个文件? Currently, I have my custom settings and can be copied from here . 目前,我有自定义设置,可以从这里复制。

command name in Keybindings: workbench.action.moveEditorToNextGroup Keybindings中的命令名: workbench.action.moveEditorToNextGroup

command name in Command Palette: View: Move Editor into Next Group 命令选项板中的命令名称: View: Move Editor into Next Group

default keybinding: Ctrl + Alt + 默认键绑定: Ctrl + Alt +


command name in Keybindings: workbench.action.moveEditorToPreviousGroup Keybindings中的命令名: workbench.action.moveEditorToPreviousGroup

command name in Command Palette: View: Move Editor into Previous Group 命令选项板中的命令名称: View: Move Editor into Previous Group

default keybinding: Ctrl + Alt + 默认键绑定: Ctrl + Alt +

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM