VS Code orange/yellow highlight + red text issue

141 Views Asked by At

This is driving me mad and I have no idea how to fix it! All of a sudden, VS Code decides to highlight code like this and it has nothing to do with my theme or any extensions. Does anyone else have this issue and how do I fix it? orange highlight

I checked if it comes from themes or extensions but it doesn't. Here is a difference in my js file from non-highlighted to highlighted  after

1

There are 1 best solutions below

0
adinac On BEST ANSWER

Found the culprit!! It was one of my old extensions 'TODO Highlight' that probably had an update and decided JS code was a to-do task. Never used it before, just like a few other extensions I had so a good clean-up was needed. Thank you for your help!