@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface PickItemDisplay

    Display options accepted by toPickItem.

    interface PickItemDisplay {
        alwaysShow?: boolean;
        buttons?: readonly QuickInputButtonLike[];
        description?: string;
        detail?: string;
        icon?: string | { id: string };
        label: string;
        picked?: boolean;
        resourceUri?: ResourceUri;
    }
    Index
    alwaysShow?: boolean

    Keeps the item visible even when filtered out by the user's typed input.

    buttons?: readonly QuickInputButtonLike[]

    Inline buttons rendered on this item. Build them with toPickButton and handle presses with PickOptions.onTriggerItemButton — without a handler they render but do nothing.

    description?: string

    A human-readable string which is rendered less prominently on the same line.

    detail?: string

    A human-readable string which is rendered less prominently on a separate line.

    icon?: string | { id: string }

    A codicon name (e.g. 'file'), or an already-built icon.

    A name becomes { id }, which is what a vscode.ThemeIcon is — VS Code recognises one by its id, not by its constructor, so this needs no platform call and the helper stays callable in a unit test.

    label: string

    A human-readable string which is rendered prominently.

    picked?: boolean

    Whether this item is initially selected (only honored by pickMany).

    resourceUri?: ResourceUri

    A resource URI. When set, VS Code derives the label/description/icon from the file (name, path, and file-icon-theme icon) for any of those fields left unset.