Theia API Documentation v1.65.0
    Preparing search index...

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

    interface CompletionContext {
        triggerCharacter?: string;
        triggerKind: CompletionTriggerKind;
    }
    Index

    Properties

    triggerCharacter?: 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.

    How the completion was triggered.