Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the red color indictors at the beginning of all the code?

When I updated Visual Studio Code, I am getting this annoying red indicator/highlighting before every line of code. Before the update, didn't have this issue. Does anyone know what is this and how to get rid of it?

screenshot of the problem

I tried resetting and changing the theme but it didn't work.

like image 961
Xinecraft Avatar asked Jan 22 '26 07:01

Xinecraft


2 Answers

I think this extension is causing your problem:
https://marketplace.visualstudio.com/items?itemName=oderwat.indent-rainbow

Try to disable/uninstall the "Indent-Rainbow" extension if it is installed.

For the "Trailing Spaces" extension, you can disable the highlighting option by adding this line to the settings.json file.

{
  "trailing-spaces.highlightCurrentLine": false 
}

You can find more settings here:
https://marketplace.visualstudio.com/items?itemName=shardulm94.trailing-spaces

like image 79
Anwar Ul Azim Avatar answered Jan 25 '26 22:01

Anwar Ul Azim


I kept the Indent Rainbow extension, but added this to my settings.json to disable the red highlights:

    "indentRainbow.ignoreErrorLanguages": [
    "markdown",
    "python"
    ]
like image 21
Behnam Moh Avatar answered Jan 25 '26 20:01

Behnam Moh



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!