Interface QuickPickOptions<T>

interface QuickPickOptions<T> {
    activeItem?: T;
    ariaLabel?: string;
    autoFocusOnList?: boolean;
    busy?: boolean;
    buttons?: QuickInputButton[];
    canAcceptInBackground?: boolean;
    canSelectMany?: boolean;
    contextKey?: string;
    customButton?: boolean;
    customHover?: string;
    customLabel?: string;
    description?: string;
    enabled?: boolean;
    filterValue?: ((value) => string);
    hideCheckAll?: boolean;
    hideInput?: boolean;
    ignoreFocusOut?: boolean;
    keepScrollPosition?: boolean;
    matchOnDescription?: boolean;
    matchOnDetail?: boolean;
    matchOnLabel?: boolean;
    onDidAccept?: (() => void);
    onDidChangeActive?: ((quickPick, activeItems) => void);
    onDidChangeSelection?: ((quickPick, selectedItems) => void);
    onDidChangeValue?: ((quickPick, filter) => void);
    onDidCustom?: (() => void);
    onDidHide?: (() => void);
    onDidTriggerButton?: ((button) => void);
    onDidTriggerItemButton?: ((ItemButtonEvent) => void);
    placeholder?: string;
    runIfSingle?: boolean;
    sortByLabel?: boolean;
    step?: number;
    title?: string;
    totalSteps?: number;
    validationMessage?: string;
    value?: string;
    valueSelection?: readonly [number, number];
}

Type Parameters

Properties

activeItem?: T
ariaLabel?: string
autoFocusOnList?: boolean
busy?: boolean
buttons?: QuickInputButton[]
canAcceptInBackground?: boolean
canSelectMany?: boolean
contextKey?: string
customButton?: boolean
customHover?: string
customLabel?: string
description?: string
enabled?: boolean
filterValue?: ((value) => string)

Type declaration

    • (value): string
    • Parameters

      • value: string

      Returns string

hideCheckAll?: boolean
hideInput?: boolean
ignoreFocusOut?: boolean
keepScrollPosition?: boolean
matchOnDescription?: boolean
matchOnDetail?: boolean
matchOnLabel?: boolean
onDidAccept?: (() => void)

Type declaration

    • (): void
    • Returns void

onDidChangeActive?: ((quickPick, activeItems) => void)

Type declaration

    • (quickPick, activeItems): void
    • Parameters

      Returns void

onDidChangeSelection?: ((quickPick, selectedItems) => void)

Type declaration

    • (quickPick, selectedItems): void
    • Parameters

      Returns void

onDidChangeValue?: ((quickPick, filter) => void)

Type declaration

    • (quickPick, filter): void
    • Parameters

      Returns void

onDidCustom?: (() => void)

Type declaration

    • (): void
    • Returns void

onDidHide?: (() => void)

Type declaration

    • (): void
    • Returns void

onDidTriggerButton?: ((button) => void)

Type declaration

onDidTriggerItemButton?: ((ItemButtonEvent) => void)

Type declaration

placeholder?: string
runIfSingle?: boolean
sortByLabel?: boolean
step?: number
title?: string
totalSteps?: number
validationMessage?: string
value?: string
valueSelection?: readonly [number, number]