Provide completion items for the given position and document.
The document in which the command was invoked.
The position at which the command was invoked.
An array of completions, a completion list, or a thenable that resolves to either.
The lack of a result can be signaled by returning undefined
, null
, or an empty array.
Generated using TypeDoc
A completion item provider provides suggestions to insert or apply at the cursor as the user is typing.
Providers are queried for completions as the user types in any document matching the document selector specified at registration time.