Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code: Show errors on left side on line number

right now I see my errors (eslint errors for example) only on the right side, which I find pretty hard to see on smaller screens. Is there any way / setting to highlight the line number on the left side when the line has an error?

How it is right now (notice the tiny red square on the right side):

enter image description here

What I would like to see:

enter image description here

like image 764
Felix Hagspiel Avatar asked May 02 '26 00:05

Felix Hagspiel


1 Answers

Error Lens acheives your goal: making the error visually recognizable on smaller screens.

While it won't display the error just on the left side, but actually on the entire row - I'd argue it's actually even better for what you're looking for, because it even colors the minimap on the right :)

Here's how it looks:

enter image description here

like image 89
OfirD Avatar answered May 04 '26 00:05

OfirD



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!