Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off the highlighting of folded code in VSCode?

Today, something has changed in my VSCode. Can anyone help me with this?

Does anybody know how to turn off the highlighting of folded code in VSCode like in the example screenshot?

VSCode Screenshot

like image 648
elmagxd Avatar asked Feb 08 '20 08:02

elmagxd


2 Answers

File -> Preferences -> Settings

Then search for 'Folding highlight' and uncheck the box. That will turn off the highlight.

enter image description here

like image 178
vfle Avatar answered Mar 05 '23 16:03

vfle


You can also change the color and/or opacity of the folded highlight with this colorCustomization in your settings.json:

"workbench.colorCustomizations": {

   // last two digits `aa` in this case below are opacity
  "editor.foldBackground": "#ff0000aa"
}
like image 39
Mark Avatar answered Mar 05 '23 17:03

Mark