Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.71.0-insider, Commit: 9529e11
- OS Version: macOS 12.5.1 (21G83)
Steps to Reproduce:
Sticky scroll does not work correctly for a file like this:
namespace A::B {
void func() {
//
//
//
//
}
} // namespace A::B
Scrolling into the body of func() shows a sticky scroll area containing only namespace A::B {. I expect two lines instead, like this:
namespace A::B {
void func() {
However, it does work for a C++ file like this:
namespace A {
namespace B {
void func() {
//
//
//
//
}
} // namespace B
} // namespace A
In this case, scrolling into the body of func() shows a sticky scroll area containing three lines, as expected:
namespace A {
namespace B {
void func() {
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Sticky scroll does not work correctly for a file like this:
Scrolling into the body of func() shows a sticky scroll area containing only
namespace A::B {. I expect two lines instead, like this:However, it does work for a C++ file like this:
In this case, scrolling into the body of func() shows a sticky scroll area containing three lines, as expected: