Interface InlineCompletions<TItem>

interface InlineCompletions<TItem> {
    commands?: InlineCompletionCommand[];
    enableForwardStability?: boolean;
    items: readonly TItem[];
    suppressSuggestions?: boolean;
}

Type Parameters

Properties

A list of commands associated with the inline completions of this list.

enableForwardStability?: boolean

When set and the user types a suggestion without derivating from it, the inline suggestion is not updated.

items: readonly TItem[]
suppressSuggestions?: boolean