VSCodeVim / VSCodeVim/Vim

Support InlineCompletions And NES

Open
#9,679 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Environment (please complete the following information):

Extension (VsCodeVim) version: 1.29.0
VSCode version: 1.99.3
OS: Mac OS 15.5

Problem statement

InlineCompletion and NES are not well supported in vim mode. when users want to add a new line/ or copy paste content the base interactions don't work.

Neither 'o' nor 'p' would trigger InlineCompletion/NES causing our users to miss out on the suggestions

Proposed solution

Add command invocation on the insert/replace actions to call at least the editor.action.inlineSuggest.trigger. Alternatively a new command could be added to inlineCompletion commands and this could be called to avoid "Explicit trigger" sideeffects.

Appendix

Note that this is a long standing problem and is growing more problematic with the increased scope of copilot.
Refs: https://github.com/VSCodeVim/Vim/issues/9512 https://github.com/VSCodeVim/Vim/issues/9586 https://github.com/VSCodeVim/Vim/issues/9546

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 by tracing the insert and replace actions in the TypeScript extension and how they invoke VS Code commands. Review the referenced issues and the inline completion command proposal, then verify that the relevant actions trigger inline suggestions or NES behavior without disrupting Vim mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.