In VS Code, I have sticky scroll enabled. However, my codebases have brackets on new lines. So instead of a function name being stuck to the top of the editor, it is just a single bracket.
Is there a way to fix this? I haven’t seen it directly in the settings?
In a cpp file:
namespace foo
{
class bar
{
void baz()
{
}
}
}
And in settings:
- Editor > Sticky Scoll: Enabled
- Any model (Editor > Sticky Scroll: Default Model)
When scrolling the { lines will stick, not the actual definition line above it.