[英]VSCode: If a file already has a tab open on another pane (split pane setup), make existing tab active
[英]VSCode: Prevent file from opening in a new tab and instead focus to already opened tab in another pane
我通过执行以下操作在 Windows 上的 VS Code 中解决了这个问题:
"window.openFilesInNewWindow": "off",
"workbench.editor.enablePreview": false
"workbench.editor.enablePreview": false"
表示当您单击文件时它保持打开状态。这是此解决方案的可选部分,但我认为它可以带来更好的 DX。
"window.openFilesInNewWindow": "off"
意味着当你打开一个文件时,如果它已经打开,它将聚焦该文件的选项卡。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.