VSCode:防止拆分编辑器向左打开相同的文件&对 [英] VSCode: Prevent split editor to open same file left & right

查看:529
本文介绍了VSCode:防止拆分编辑器向左打开相同的文件&对的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用VSCode作为主编辑器,但是,当我将编辑器分为2个时,它会两次打开相同的文件,例如left&正确(请参见下图)。




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.

解决方案

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+

这篇关于VSCode:防止拆分编辑器向左打开相同的文件&对的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆