Interface: QuickPickOptions
Defined in: packages/extension-api/src/extension-api.d.ts:1565
Options to configure the behavior of the quick pick UI.
Properties
canPickMany?
optionalcanPickMany?:boolean
Defined in: packages/extension-api/src/extension-api.d.ts:1595
An optional flag to make the picker accept multiple selections, if true the result is an array of picks.
ignoreFocusOut?
optionalignoreFocusOut?:boolean
Defined in: packages/extension-api/src/extension-api.d.ts:1590
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.
matchOnDescription?
optionalmatchOnDescription?:boolean
Defined in: packages/extension-api/src/extension-api.d.ts:1574
An optional flag to include the description when filtering the picks.
matchOnDetail?
optionalmatchOnDetail?:boolean
Defined in: packages/extension-api/src/extension-api.d.ts:1579
An optional flag to include the detail when filtering the picks.
placeHolder?
optionalplaceHolder?:string
Defined in: packages/extension-api/src/extension-api.d.ts:1584
An optional string to show as placeholder in the input box to guide the user what to pick on.
title?
optionaltitle?:string
Defined in: packages/extension-api/src/extension-api.d.ts:1569
An optional string that represents the title of the quick pick.
Methods
onDidSelectItem()?
optionalonDidSelectItem(item):any
Defined in: packages/extension-api/src/extension-api.d.ts:1601
An optional function that is invoked whenever an item is selected.
Parameters
item
string | QuickPickItem
Returns
any