Repeating insertion that starts with tab completion does not work
Open
Nobody has claimed this yet.
kind/bug
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
While testing aacad5167e78f110e6375b69a36111786a63ceec, I noticed that the following does not work, because there is no existing DocumentContentChangeAction to add to:
- Start with
foo.bar(); - Do
ciwonbar - Without typing anything, trigger a tab completion
<Esc>- Repeat this somewhere else with
.
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
Start with the reported reproduction: ciw on bar, trigger tab completion without typing, press Escape, then repeat at another location with .. Trace how repeating insertion uses DocumentContentChangeAction and why this sequence has no action to add; done means the final repeat reproduces the insertion elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100