visual-studio-code - Visual Studio代码: Is it Possible to Open New Files in the *Opposite* Pane (When Using Split Panes)?

标签 visual-studio-code

在 VS Code 中,假设我已将程序拆分为两个编辑器 Pane ,并且在左侧打开文件 A,在右侧打开文件 B。当我聚焦于左 Pane (文件 A)并打开一个新文件(文件 C)时,它会在左 Pane 中打开它(覆盖文件 A)。无论我通过 CTRL + 单击打开文件,还是通过 CTRL + e 选择文件,都会发生这种情况。

是否有任何我可以更改的设置,或任何其他方式可以告诉 VS Code 在与我所关注的 Pane 相反的 Pane 中打开新文件?

最佳答案

使用 Alt+Ctrl+在编辑器窗口中单击鼠标。

如果您使用转到文件... (Ctrl+E/Ctrl+P),在所选条目上使用 Alt+Enter

关于visual-studio-code - Visual Studio代码: Is it Possible to Open New Files in the *Opposite* Pane (When Using Split Panes)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67875618/

相关文章:

php - 本地环境中的 Xdebug 错误 [加载失败/usr/local/lib/php/pecl/20190902/xdebug.so :]

typescript - 如何省略错误 : [ts] The inferred type of <class function name> references an inaccessible 'this' type. 需要类型注释

visual-studio-code - 如何在没有 IntelliSense 的情况下触发快速建议

visual-studio-code - 在 Visual Studio Code 中启用自动滚动

django - 如何禁用 VSCode 的资源管理器打开文件的打开目录?

node.js - 在 Visual Studio 代码中运行 babel-node

visual-studio-code - 在 VSCode 上安装 Prettier

azure - VSCode Azure Functions - 错误 : Cannot read properties of undefined (reading 'createClient' )

css - 在 Visual Studio Code 中使用tasks.json 来转译 typescript 和 sass

python - Visual Studio Code - Python - 列表索引限制最大 300 - 调试器