Interface CompletionContext

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

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

Properties

triggerCharacter?: string

The trigger character (a single character) that has trigger code complete. Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter

How the completion was triggered.