简体   繁体   English

即使启用了选项卡设置,VSCode 也仅显示 1 个选项卡

[英]VSCode only shows 1 tab even with the tabs setting enabled

I did right-click > Close All , and ever since that I've only been able to keep 1 tab open.我确实right-click > Close All ,从那以后我只能保持 1 个选项卡处于打开状态。 If I click on a different file, it closes the previous file.如果我单击不同的文件,它会关闭前一个文件。 I have the setting Workbench › Editor: Show Tabs enabled, but it still doesn't let me open additional tabs.我有设置Workbench › Editor: Show Tabs ,但它仍然不允许我打开其他选项卡。 Only if I double click the file it opens it in a new tab, but I would like this to happen with a single click.仅当我双击该文件时,它才会在新选项卡中打开它,但我希望只需单击一下即可。 I've tried restarting VSCode, but the problem persists.我尝试重新启动 VSCode,但问题仍然存在。

I managed to solve this by disabling the setting Workbench › Editor: Enable Preview .我设法通过禁用设置Workbench › Editor: Enable Preview来解决这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM