Interface IProviderReconciliator

interface IProviderReconciliator {
    fetch(request, trigger?): Promise<null | ICompletionItemsReply<ICompletionItem>>;
    fetchInline(request, trigger?): Promise<null | IInlineCompletionList<IInlineItem>>[];
    shouldShowContinuousHint(completerIsVisible, changed): Promise<boolean>;
}

Implemented by

Methods

  • Check if completer should make request to fetch completion responses on user typing. If the provider with highest rank does not have shouldShowContinuousHint method, a default one will be used.

    Parameters

    • completerIsVisible: boolean

      The visible status of completer widget.

    • changed: SourceChange

      CodeMirror changed argument.

    Returns Promise<boolean>