Home > Mobile >  How to fix code highlighted in red in VS Code
How to fix code highlighted in red in VS Code

Time:03-17

This happened suddenly after I restarted my computer, all of a sudden any code I type is highlighted in red. Does anyone know how to fix this? See image.

OS: Windows

https://i.stack.imgur.com/mVrJj.png

UPDATE: This is the weirdest thing, I simply restarted my computer (again), and it just disappeared. It's a shame, because I didn't get to figure out how it happened, but it's good to know about this Bisect feature in VS Code!

https://i.stack.imgur.com/SUyn7.png

CodePudding user response:

It may be one of your extensions that makes this. You can check it by disabling them one by one(ctrl shift X and then choose installed). I guess maybe an extension that belongs these:enter image description here. Hope helpful.

CodePudding user response:

This might have something to do with one of your extensions acting up.

VScode has a nice feature to help you find the specific extension that's causing problems without you having to check each one individually.

VScode bisect function.

Press crtl p then type bisect

  • Related