Contains additional information about the context in which {@link CompletionItemProvider.provideCompletionItems completion provider} is triggered.

Fields

read onlytriggerKind:CompletionTriggerKind

How the completion was triggered.

@:optionaloptionalread onlytriggerCharacter:Null<String>

Character that triggered the completion item provider.

undefined if provider was not triggered by a character.

The trigger character is already in the document when the completion provider is triggered.