-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Closed
Labels
*questionIssue represents a question, should be posted to StackOverflow (VS Code)Issue represents a question, should be posted to StackOverflow (VS Code)info-neededIssue requires more information from posterIssue requires more information from postersuggestIntelliSense, Auto CompleteIntelliSense, Auto Complete
Description
Does this issue occur when all extensions are disabled?: N/A
- VS Code Version: v1.82.2
- OS Version: macOS Venture 13.0.1 (22A400)
Steps to Reproduce:
- Take a working language server that is returning simple CompletionItems, with with just a
labelandkind, with no completion resolver. - Add the
textEditfield to those CompletionItems, to better control identifier boundaries. - Observe that VSCode no longer displays your completions.
Commentary:
I suspect that there are more constraints on using textEdit than are documented at https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/#textDocument_completion.
Screenshot showing VSCode displaying no completion items, as well as the textDocument/completion response sent from the language server, where the completions were requested.

Metadata
Metadata
Assignees
Labels
*questionIssue represents a question, should be posted to StackOverflow (VS Code)Issue represents a question, should be posted to StackOverflow (VS Code)info-neededIssue requires more information from posterIssue requires more information from postersuggestIntelliSense, Auto CompleteIntelliSense, Auto Complete