Open abonie opened 1 year ago
I found that the xml comments are included in the hint range, maybe that's why VS make comments sticky to the top.
The attributes are also included in the hint ranges, and they also stick to the top.
By the way, This makes xml comments unfoldable (because the BlockStructureService
will first distinct scopes by the start line number of the hint range). Is this by designed?
Repro steps
In VS with sticky scrolling, put a comment starting with
///
right above something "sticky", like a multilinelet
and scroll down Expected behaviorSticky scroll sticks to the line with
let
Actual behavior
https://user-images.githubusercontent.com/20281641/232490032-3e116277-0c11-43aa-85cd-7345ffcede91.mp4
Sticky scroll sticks to the
///
commentKnown workarounds
Ignore it, disable sticky scroll or don't start your comments with
///
Related information
Provide any related information (optional):