Interface IInlineCompleterSettings

Inline completer user-configurable settings.

interface IInlineCompleterSettings {
    editorResizeDelay: number;
    maxLines: number;
    minLines: number;
    providers: {
        [providerId: string]: {
            autoFillInMiddle: boolean;
            debouncerDelay: number;
            enabled: boolean;
            timeout: number;
            [property: string]: JSONValue;
        };
    };
    reserveSpaceForLongest: boolean;
    showShortcuts: boolean;
    showWidget: "always"
    | "never"
    | "onHover";
    streamingAnimation: "none" | "uncover";
    suppressIfTabCompleterActive: boolean;
}

Properties

editorResizeDelay: number

Delay between resizing the editor after an incline completion was cancelled.

maxLines: number

Maximum lines to show.

minLines: number

Minimum lines to show.

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

Provider settings.

reserveSpaceForLongest: boolean
showShortcuts: boolean

Whether to show shortcuts in the inline completer widget.

showWidget: "always" | "never" | "onHover"

Whether to show the inline completer widget.

streamingAnimation: "none" | "uncover"

Transition effect used when streaming tokens from model.

suppressIfTabCompleterActive: boolean

Whether to suppress the inline completer when tab completer is active.