When using Editor>Experimental>StickyScroll, "Z<return>" positions the current line behind sticky scopes.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Acknowledging that StickyScroll is experimental. Also, this may be a problem with that setting, not Vim.
To recreate, edit source code file of a type supported by StickyScroll (I was editing C++ when I hit this issue).
With the cursor visible on a line with at least one enclosing scope (such as within a function definition), press "Z" to move the current line to the top of the edit window.
The cursor (current line) is now hidden behind the sticky enclosing scope line(s).
v1.23.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in VS Code with Editor > Experimental > Sticky Scroll enabled, using a source file with an enclosing scope and the reported Z command. Start by tracing the StickyScroll and Vim scrolling interaction; done means the current line remains visible rather than being covered by sticky scope lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100