All my files turned green in Visual Studio Code and there is a U next to all the files

I'm using VS Code for editing my code, and one day it randomly decided to make all my files green. This is very distracting and hurts my eyes, and I can't find any way to disable it. What can I do? Image I think it is git doing this, but how do you stop it from making files green?


Solution 1:

If you're inside a git repository, VSCode does this to show you that those files are currently untracked / not added.

If you don't care about git, you could just delete the .git folder.

If you do care about it, then go to your settings.json and add these lines

// Whether git is enabled.
"git.enabled": false,

Solution 2:

You can set it to normal by searching Untrack in VS Code setting and then set the GIT Untrack Changes to "Hidden"