Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code - filename color

For some reason, after the update, some filenames appear yellow. enter image description here

How do I disable it?

like image 466
nikksan Avatar asked Nov 14 '17 16:11

nikksan


3 Answers

settings.json Ctrl+,

"git.decorations.enabled": false

https://code.visualstudio.com/updates/v1_18#_git-status-in-file-explorer

like image 107
Alex Avatar answered Nov 16 '22 01:11

Alex


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
}
like image 30
Akshit Bhalla Avatar answered Nov 16 '22 02:11

Akshit Bhalla


To generally disable the colors in the explorer, one can use the setting:

User/Features/Explorer/Decorations/Colors: false
like image 40
martinstoeckli Avatar answered Nov 16 '22 01:11

martinstoeckli