VSCodeVim / VSCodeVim/Vim

Repeating insertion that starts with tab completion does not work

Open
#6,622 0 comments 1 reaction 0 assignees View on GitHub

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:

  1. Start with foo.bar();
  2. Do ciw on bar
  3. Without typing anything, trigger a tab completion
  4. <Esc>
  5. Repeat this somewhere else with .

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.