microsoft / microsoft/vscode

Intellisense: AI Inline suggestions block LSP suggestions- they should race instead

Open
#331,531 0 comments 0 reactions 1 assignee Claimed by @hediet View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Setting `editor.inlineSuggest.enabled: false` results in much faster LSP completions, particularly when modifying an existing id where it will trigger "invoked" completions as opposed to "trigger" completions.

In my opinion these requests for AI and LSP suggestions should race. I think what I'm seeing is that the AI completion request is awaited upon before the client gives up and sends the LSP completions request.

Using `1.133.0`

It would also be nice if the single token AI suggestions fit into the completions model - like why not just rank the LSP completions with AI? Or have the AI completions suggest multiple and also leverage the completions UI?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.