Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove pin feature from VS Code? [duplicate]

When I work with code and scroll down a little some parts of code which are higher in hierarchy get pinned on top of tab with the line beneath it unless I scroll up to that point again. Is it possible to disable that feature?

I've searched through settings but couldn't find one that I need.

lines 2-15 are pinned when I scroll down

like image 566
Clarify Avatar asked Dec 30 '25 21:12

Clarify


1 Answers

Looks like you are looking for this setting:

"editor.stickyScroll.enabled": false

Add this to your settings.json.

Alternatively, you can go to File > Preferences > Settings (or press Ctrl + , on Windows/Linux or Cmd + , on macOS), search for editor.stickyScroll.enabled, and uncheck the box next to it.

stickyScroll settings

This will disable the sticky scroll feature.

like image 145
Ghost_Jake Avatar answered Jan 05 '26 23:01

Ghost_Jake



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!