interface InlineCompletionContext {
    changeHint?: IInlineCompletionChangeHint;
    earliestShownDateTime: number;
    includeInlineCompletions: boolean;
    includeInlineEdits: boolean;
    requestIssuedDateTime: number;
    selectedSuggestionInfo: undefined | SelectedSuggestionInfo;
    triggerKind: InlineCompletionTriggerKind;
}

Properties

The change hint that was passed to InlineCompletionsProvider.onDidChangeInlineCompletions. Only set if this request was triggered by such an event.

earliestShownDateTime: number
includeInlineCompletions: boolean
includeInlineEdits: boolean
requestIssuedDateTime: number
selectedSuggestionInfo: undefined | SelectedSuggestionInfo

How the completion was triggered.