Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable VSCode's tab highlighting for files with problems?

When a file in VSCode has problems in it (e.g. unreachable code), the title of it's tab turns orange/yellow, which overwrites git's highlighting (that signalizes modified or new file).

I want to disable this. I tried about every setting I could find, but none changes the tab's appearance when there are problems in it. There is a setting for errors, but not for problems.

A screenshot of a file that has a problem in it, and it's tab's title is orange

An example screenshot of normal git highlighting

like image 497
Matěj Pešl Avatar asked Feb 03 '26 09:02

Matěj Pešl


2 Answers

Partially solved by Mark in VSCode - How to change the badge color for error tabs?. It seems like there is currently no way to only disable or change the color of warnings specifically, but there is an option to disable colors for all problems (both errors and warning), which leaves only git coloring visible. Not an ideal solution, but it's better than nothing.

Solution from Mark's answer:

To see Problems decorations in the file tabs, enable this setting:

Problems > Decorations: Enabled
"Show Errors & Warnings on files and folder."
like image 139
Matěj Pešl Avatar answered Feb 06 '26 01:02

Matěj Pešl


To update Matěj Pešl's answer...

Under File -> Preferences -> Settings, search for "problems". Then, uncheck both of these:

problems decordations

problems visibility

like image 26
Cryptc Avatar answered Feb 05 '26 23:02

Cryptc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!