Using `.` command from an insert that made use of autocomplete doesn't incorporate the autocomplete
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
If in insert mode and I use autocomplete, using "." right after will not repeat the autocomplete usage. In general, I don't think that's the best behavior because this disincentivizes users to not use autocomplete if they want repeatable actions.
To Reproduce
- Go into insert mode
- Start typing and then use autocomplete (ctrl+n + enter to navigate and select)
- Exit insert mode
- Press
.
Expected behavior
Pressing . should repeat the entire insert result. Not just what was physically typed.
Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.
Environment (please complete the following information):
- Extension (VsCodeVim) version:
- VSCode version:
- OS:
Additional context
Add any other context about the problem here.
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 files, tests, or entry points are named. First reproduce the autocomplete and dot-repeat sequence in the issue, then locate the relevant insert-mode and repeat handling; done means dot repeats the autocomplete result as part of the full insertion.
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
- Mostly clear
- Newbie friendliness
- 35/100