Interface IInlineCompletionProvider<T>

The interface extensions should implement to provide inline completions.

Type Parameters


Implemented by


icon?: ILabIcon

The icon representing the provider in the user interface.

identifier: string

Unique identifier, cannot change on runtime.

The identifier is also added on data attribute of ghost text widget, allowing different providers to style the ghost text differently.

name: string

Name of the provider to be displayed in the user interface.

schema?: IProperty

Settings schema contributed by provider for user customization.


  • Optional method called when user changes settings.

    This is only called if schema for settings is present.


    Returns void

  • Optional method to stream remainder of the insertText.


    • token: string

    Returns AsyncGenerator<{
        response: T;
    }, any, unknown>

Generated using TypeDoc