The completion request is sent from the client to the server to compute completion items at a given cursor position.
Completion items are presented in the IntelliSense user interface. If computing full completion items is expensive, servers can additionally provide a handler for the completion item resolve request ('completionItem/resolve').
| text_document |
the document to provide completions for |
| position |
the position inside the document for which completions are requested |
| context |
additional context about how the completion was triggered |
|
a list of completion items, or null if there are none |