n
19

Rant: I spent 3 hours debugging a missing semicolon before I discovered VS Code has a built-in error highlighter that shows you exactly where

I kept getting parse errors in JavaScript and was scanning line by line like a crazy person until I clicked the little red squiggly line and it pointed straight to line 147, has anyone else found a hidden IDE feature that saved them hours of headaches?
2 comments

Log in to join the discussion

Log In
2 Comments
mary_patel59
mary_patel591mo agoMost Upvoted
Wait, you mean the red squiggly lines have been sitting there this whole time and I never knew what they actually did? That is honestly mind-blowing that something so simple could save hours of sifting through code. I bet half the people on this forum are still ignoring them like I was.
6
noah_chen17
yeah I heard about that feature from a friend who's been coding way longer than me, he was like "wait you didn't know about the red squiggly lines?" and I felt so dumb. I mean it's right there in the status bar too but I always ignored it lol. idk why they don't just make it more obvious for beginners or something, like a popup that says "hey click me dummy." I spent like two hours last week trying to track down a missing bracket in some css and turns out Vs code was literally pointing at it the whole time. maybe it's just me but I feel like every time I learn a new editor trick I realize how much time I wasted before.
1