VS Code API
    Preparing search index...

    Interface CompletionContext

    Contains additional information about the context in which completion provider is triggered.

    interface CompletionContext {
        triggerCharacter: string | undefined;
        triggerKind: CompletionTriggerKind;
    }
    Index

    Properties

    triggerCharacter: string | undefined

    Character that triggered the completion item provider.

    undefined if the provider was not triggered by a character.

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

    How the completion was triggered.