Interface InlineCompletions<TItem>

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

Properties§

§readonly commands?: InlineCompletionCommand[]

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

§readonly enableForwardStability?: boolean

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

§readonly items: readonly TItem[]
§readonly suppressSuggestions?: boolean