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

ⅰ亾dé卋堺 提交于 2020-02-18 08:20:15

问题


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).

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.


回答1:


command name in Keybindings: workbench.action.moveEditorToNextGroup

command name in Command Palette: View: Move Editor into Next Group

default keybinding: Ctrl+Alt+


command name in Keybindings:workbench.action.moveEditorToPreviousGroup

command name in Command Palette: View: Move Editor into Previous Group

default keybinding: Ctrl+Alt+



来源:https://stackoverflow.com/questions/43304791/vscode-prevent-split-editor-to-open-same-file-left-right

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!