Visual Studio 缺少脏文件指示器和突出显示选项卡的代码不起作用

Visual Studio Code missing dirty file indicator and highlight tabs doesn't work

当我在 VS Code 中有一个脏文件时,我没有在文件选项卡中看到项目符号,也没有在选项卡上方看到高亮栏。我在设置中打开了 Highlight Modified Tabs 但没有效果。我还尝试更改主题以防出现颜色问题。我没有任何会干扰这些设置的扩展程序。

有人遇到过这种情况吗?我需要完全卸载 VS Code 吗?

我遇到了同样的问题,只是用这个答案解决了它:

That was a hint. I realized what was the problem. Kind of weird. I had modified the settings.json file manually, setting auto save to off, but I realized that under the File menu at the top, Auto Save was marked as active. My files were not auto saving, but VS detected as if it were active. Unchecking Auto Save in the File menu did the trick.

https://github.com/Microsoft/vscode/issues/23950

我单击了文件 > [未选中] 自动保存

这帮我修好了。