VSCodeVim / VSCodeVim/Vim

copilot suggestions not displayed after "o" (open line) command

Open
#9,512 1 comment 0 reactions 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

Define a function header on a single line, e.g:

# Calculate the nth number in the Fibinacci sequence
def fibinacci(n: int) -> int:
  1. With your cursor after the : and in input mode, press enter. The next line auto indents and copilot suggests ghost text for the entire implementation.

  2. Instead of above, in normal mode, press 'o'. The next line auto indents (i.e. we get to the same state as above) but copilot does not suggest anything.

On up to date Arch Linux using current vscode 1.97.2 with vim 1.29.0; or current insiders 1.98.0-insider with vim 1.29.0 although this bug has been around for ages.

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

Reproduce the behavior in VS Code with VSCodeVim and Copilot, comparing Enter in insert mode with normal-mode o after the Python function header. Trace how the two commands create the new line and trigger suggestions; done means Copilot ghost text appears after both commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.