provideCompletionItems

abstract external fun provideCompletionItems(document: TextDocument, position: Position, token: CancellationToken, context: CompletionContext): ProviderResult<JsAny>(source)

Provide completion items for the given position and document.

Parameters

document

The document in which the command was invoked.

position

The position at which the command was invoked.

token

A cancellation token.

context

How the completion was triggered.