问题
For some reason, after the update, some filenames appear yellow.
How do I disable it?
回答1:
settings.json Ctrl+,
"git.decorations.enabled": false
https://code.visualstudio.com/updates/v1_18#_git-status-in-file-explorer
回答2:
To generally disable the colors in the explorer, one can use the setting:
User/Features/Explorer/Decorations/Colors: false
回答3:
As part of the update, Visual Studio Code integrates the colour highlighting of Git version control into the main file explorer.
That’s why you’re seeing yellow for some files as changes have been made to them that have not yet been committed in Git.
You can remove the colour highlighting by adding this line to your settings.json file in VS Code, accessible via Preferences.
"git.decorations.enabled": false
If you wish, you can disable the Git integration entirely by adding these lines to the settings.json file instead.
{
...
// Disable Git
"git.enabled": false,
"git.path": null,
"git.autofetch": false
}
来源:https://stackoverflow.com/questions/47290359/visual-studio-code-filename-color