Sticky scroll in Visual Studio is in preview as of Visual Studio 2022 17.5 Preview 2. I’m sure it will move to the full release soon.
When working in code with long classes and methods that stretch beyond the vertical size of your screen, it can be difficult to keep track of which scope you’re working in. Sticky Scroll provides immediate context to the code in which you’re working by keeping the relevant headers in your view.
Example of what it looks like below from Mads Kristensen on Twitter …
It’s off by default, as it won’t be to everyone’s liking but you can enable it from the options below …

Note… this isn’t an excuse to create huge GOD classes or methods 🤣.