QuickPick
A concrete QuickInput to let the user pick an item from a list of items of type T.
The items can be filtered through a filter text field and there is an option canSelectMany to allow for selecting multiple items.
Note that in many cases the more convenient window.showQuickPick is easier to use. window.createQuickPick should be used when window.showQuickPick does not offer the required flexibility.
Properties
Active items. This can be read and updated by the extension.
Buttons for actions in the UI.
Determines if multiple items can be selected at the same time. Defaults to false.
Determines if the UI should stay open even when losing UI focus. Defaults to false. This setting is ignored on iPad and is always false.
Items to pick from. This can be read and updated by the extension.
Determines if the scroll position is maintained when the quick pick items are updated. Defaults to false.
Determines if the filter text should also be matched against the description of the items. Defaults to false.
Determines if the filter text should also be matched against the detail of the items. Defaults to false.
An event signaling when the user indicated acceptance of the selected item(s).
An event signaling when the active items have changed.
An event signaling when the selected items have changed.
An event signaling when the value of the filter text has changed.
An event signaling when a button was triggered.
An event signaling when a button in a particular QuickPickItem was triggered.
Optional placeholder text displayed in the filter text box when no value has been entered.
Selected items. This can be read and updated by the extension.
An optional total step count for multi-step input flows.