Conflict with clangd 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
While using the clangd's autocomplete, if there is more than one parameter, I will use Tab to jump to the next parameter and I can enter fluently. But with vim, while I using Tab, it'll jump to the next parameter in visual mode, and sometimes I need to use 's' many times to get into insert mode. If I use 'I', the cursor might jump to some strange place.
To Reproduce
Steps to reproduce the behavior:
- Open a cpp file
- Insert a Multi-parameter function name(like for)
- Use Tab to get into autocomplete
- Insert the first parameter
- Press Tab
- See the error
Expected behavior
After I enter the first parameter and press Tab, the cursor will jump to the next parameter with insert mode and can insert directly.
Screenshots

autocomplete from clangd

insert the first parameter

press Tab and now is in visual mode

press 'I' and the cursor jump to the last line.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.17.1
- VSCode version: 1.50.1
- OS: macOS Catalina 10.15.7
Additional context
- clangd version: 0.1.7
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 by reproducing the behavior in a C++ file with clangd autocomplete using the listed VSCodeVim, VSCode, and clangd versions. Trace how Tab is handled after the first parameter; done means Tab moves to the next parameter while remaining in insert mode, without entering visual mode or moving the cursor unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100