`u`/`<C-r>` for undo/redo don’t work in the interactive playground
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
To reproduce:
Steps to reproduce the behavior:
- Help → Interactive Playground.
- Select one of the editable areas.
- Modify the text in some way.
- Press u to undo the last change.
Expected behavior:
It should undo the change.
Actual behaviour:
“Already at oldest change” status text; nothing happens. (Much the same on Ctrl+R for redo when there are redoable changes.)
Note that the Visual Studio Code’s native Ctrl+Z and Ctrl+Shift+Z do work.
Environment:
- Extension (VsCodeVim) version: 1.14.2
- VSCode version: 1.45.0
- OS: Windows 10.0.19041
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
Open Help → Interactive Playground and reproduce the behavior in an editable area, then trace the playground's handling of the u and Ctrl+R commands. Compare those paths with the working native Ctrl+Z and Ctrl+Shift+Z behavior. Done means u undoes the last edit and Ctrl+R redoes an undone edit without showing the incorrect status message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100