Repeated actions aren't always synchronous
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Related: https://github.com/Microsoft/vscode/issues/25278
#1340 may also be related
What happened:
Have a set up like
|foo
bar
Press yy to copy the foo, and then hold down p.
The foo will eventually jump past the bar, resulting in something like
...
foo
foo
bar
foo
foo
...
This is the one place that I've encountered this consistently, but considering the above bug report and the likely causes, I'm guessing this may be a more pervasive issue.
What did you expect to happen:
The bar stays at the bottom.
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
No file, test, or entry point is named. Reproduce the issue with the shown two-line buffer, yy, and repeated p input, then trace how repeated actions are queued and applied. Done means the bar remains below the inserted foo lines and related repeated-action cases do not regress.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100