首先打开文件、首选项、设置,找到setting.json 添加 “workbench.editor.showTabs”:true,添加之后重启vscode即可。 相关文章教程推荐:vscode教程