Interface ICompletionProviderManager

interface ICompletionProviderManager {
    activeProvidersChanged: ISignal<ICompletionProviderManager, void>;
    inline?: IInlineCompleterActions;
    inlineProviders?: IInlineCompletionProviderInfo[];
    selected: ISignal<ICompletionProviderManager, ICompleterSelection>;
    invoke(id: string): void;
    registerInlineProvider(
        provider: IInlineCompletionProvider<IInlineCompletionItem>,
    ): void;
    registerProvider(provider: ICompletionProvider<ICompletionItem>): void;
    select(id: string): void;
    setInlineCompleterFactory(factory: IInlineCompleterFactory): void;
    updateCompleter(newCompleterContext: ICompletionContext): Promise<void>;
}

Implemented by

Properties

activeProvidersChanged: ISignal<ICompletionProviderManager, void>

Signal emitted when active providers list is changed.

Inline completer actions.

inlineProviders?: IInlineCompletionProviderInfo[]

Inline providers information.

Signal emitted when a selection is made from a completer menu.

Methods

  • Invoke the completer in the widget with provided id.

    Parameters

    • id: string

      the id of notebook panel, console panel or code editor.

    Returns void

  • Activate select command in the widget with provided id.

    Parameters

    • id: string

      the id of notebook panel, console panel or code editor.

    Returns void