home ~ socials ~ projects ~ rss

Hide the Cursor Locator Line in the Vertical Scrollbar in VS Code

October 2025

The little line that's on the side of VS Code that marks the current cursor potions in the scrollbar bugs me when I'm trying to make example videos (like the one I'm doing for bitty)

It took a little digging but I found the setting to turn it off. It's called

Editor: Hide Cursro In Overview Ruler
A crop of the settings window for VS Code showing the editor setting for the overview ruler.

For reference, here's what it looks like when it's visible:

a snippet of code in the VS Code editor that shows the cursor position marker in the right hand side vertical scrollbar.

And here's what it looks like when it's off.

The same snippet of code, but the cursor line marker isn't there.
end of line
Share link:
https://www.alanwsmith.com/en/34/oj/xh/dl/?hide-the-cursor-locator-line-in-the-vertical-scrollbar-in-vs-code