copilot suggestions not displayed after "o" (open line) command
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:
-
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. -
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
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
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