Skip to main content

Interface: QuickPickOptions

Options to configure the behavior of the quick pick UI.

Properties

canPickMany?

optional canPickMany: boolean

An optional flag to make the picker accept multiple selections, if true the result is an array of picks.

Source

packages/extension-api/src/extension-api.d.ts:953


ignoreFocusOut?

optional ignoreFocusOut: boolean

Set to true to keep the picker open when focus moves to another part of the editor or to another window. This setting is ignored on iPad and is always false.

Source

packages/extension-api/src/extension-api.d.ts:948


matchOnDescription?

optional matchOnDescription: boolean

An optional flag to include the description when filtering the picks.

Source

packages/extension-api/src/extension-api.d.ts:932


matchOnDetail?

optional matchOnDetail: boolean

An optional flag to include the detail when filtering the picks.

Source

packages/extension-api/src/extension-api.d.ts:937


placeHolder?

optional placeHolder: string

An optional string to show as placeholder in the input box to guide the user what to pick on.

Source

packages/extension-api/src/extension-api.d.ts:942


title?

optional title: string

An optional string that represents the title of the quick pick.

Source

packages/extension-api/src/extension-api.d.ts:927

Methods

onDidSelectItem()?

optional onDidSelectItem(item): any

An optional function that is invoked whenever an item is selected.

Parameters

item: string | QuickPickItem

Returns

any

Source

packages/extension-api/src/extension-api.d.ts:959