-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Description
I love the new stickyScroll feature, but I work in some codebases with very deep nesting and 10 lines of scroll nesting isn't enough. I think the default value of 5 is perfectly appropriate, but I would like the option to increase this value to something larger. 20 lines would work in my case, but since this is a configured value, perhaps something even larger (30-50) would be acceptable.
Here's an example of some test code that's hidden (note that I use either the folding or indentation providers since the outline provider isn't great for my language)
Default of 5
User-configured with current max of 10
Proposed max of 20
Other thoughts
10 levels should be plenty!
It should, but often times we don't control the code we have to work with. It doesn't have to be the default, but if the user wants to opt in, let's allow them.
What if it looks bad when the whole editor is covered by sticky lines?
There is already some handling to ensure that the sticky lines don't totally overrun the editor.


