让 VSCode 从右到左关闭选项卡

Sco*_*ttF 6 visual-studio-code

目前,当我在 VSCode 中按 ctrl+w 关闭选项卡时,它会关闭该选项卡,然后跳转到最后使用的选项卡作为活动选项卡。

有没有办法让 vscode 始终跳转到我刚刚关闭的选项卡左侧的选项卡?

小智 4

只需转到设置,搜索Workbench \xe2\x80\xba Editor: Focus Recent Editor After Close并取消选择它即可。

\n

这与将此行添加到文件中相同settings.json"workbench.editor.focusRecentEditorAfterClose": false

\n

  • 但这将编辑器聚焦到关闭编辑器的**右侧** - 问题在于将焦点聚焦到**左侧**。 (6认同)