QuickPick$Typings<T extends QuickPickItem> extension

on

Properties

activeItems List<T>
Active items. This can be read and updated by the extension.
getter/setter pair
buttons List<QuickInputButton>
Buttons for actions in the UI.
getter/setter pair
canSelectMany bool
If multiple items can be selected at the same time. Defaults to false.
getter/setter pair
items List<T>
Items to pick from. This can be read and updated by the extension.
getter/setter pair
keepScrollPosition bool?
An optional flag to maintain the scroll position of the quick pick when the quick pick items are updated. Defaults to false.
getter/setter pair
matchOnDescription bool
If the filter text should also be matched against the description of the items. Defaults to false.
getter/setter pair
matchOnDetail bool
If the filter text should also be matched against the detail of the items. Defaults to false.
getter/setter pair
onDidAccept Event<void>
An event signaling when the user indicated acceptance of the selected item(s).
no setter
onDidChangeActive Event<List<T>>
An event signaling when the active items have changed.
no setter
onDidChangeSelection Event<List<T>>
An event signaling when the selected items have changed.
no setter
onDidChangeValue Event<String>
An event signaling when the value of the filter text has changed.
no setter
onDidTriggerButton Event<QuickInputButton>
An event signaling when a button in the title bar was triggered. This event does not fire for buttons on a {@link QuickPickItem}.
no setter
onDidTriggerItemButton Event<QuickPickItemButtonEvent<T>>
An event signaling when a button in a particular {@link QuickPickItem} was triggered. This event does not fire for buttons in the title bar.
no setter
placeholder String?
Optional placeholder shown in the filter textbox when no filter has been entered.
getter/setter pair
selectedItems List<T>
Selected items. This can be read and updated by the extension.
getter/setter pair
value String
Current value of the filter text.
getter/setter pair