Code folding buttons disappeared in sticky scroll in VS Code
14:42 16 Jan 2026

I've been using code folding buttons or collapse buttons that appeared on the lines of code that stick at the top of the window while scrolling. A few days ago the fold buttons disappeared from the sticky lines, and now I have to scroll up to that line to hit the fold button.

I tried searching for an option to enable them in sticky scroll settings, but I didn't find anything about fold buttons. Then I tried to enable it directly in the user settings JSON file, but there was no such option in editor.stickyScroll.

How can I enable them again?

VS Code version: 1.108.1


This screenshot shows where the fold button usually appears: with folding

This screenshot shows where the button was also supposed to appear (as it did before) on the sticky scroll: without folding

visual-studio-code sticky-scroll