The instantiation options for provider reconciliator.

interface IOptions {
    context: ICompletionContext;
    inlineProviders?: IInlineCompletionProvider<IInlineCompletionItem>[];
    inlineProvidersSettings?: {
        [providerId: string]: {
            debouncerDelay: number;
            enabled: boolean;
            timeout: number;
            [property: string]: JSONValue;
        };
    };
    providers: ICompletionProvider<ICompletionItem>[];
    timeout: number;
}

Properties

Completion context that will be used in the fetch method of provider.

List of inline completion providers, may be empty.

inlineProvidersSettings?: {
    [providerId: string]: {
        debouncerDelay: number;
        enabled: boolean;
        timeout: number;
        [property: string]: JSONValue;
    };
}

Type declaration

  • [providerId: string]: {
        debouncerDelay: number;
        enabled: boolean;
        timeout: number;
        [property: string]: JSONValue;
    }
    • [property: string]: JSONValue
    • debouncerDelay: number
    • enabled: boolean
    • timeout: number

List of completion providers, assumed to contain at least one provider.

timeout: number

How long should we wait for each of the providers to resolve fetch promise