OptionalalwaysDetermines if this item is always shown, even when filtered out by the user's input.
Note: This property is ignored when kind is set to QuickPickItemKind.Separator.
OptionalbuttonsOptional buttons that will be rendered on this particular item.
These buttons will trigger an QuickPickItemButtonEvent when pressed. Buttons are only rendered when using a quick pick created by the createQuickPick API. Buttons are not rendered when using the showQuickPick API.
Note: This property is ignored when kind is set to QuickPickItemKind.Separator.
OptionaldescriptionA human-readable string which is rendered less prominently in the same line.
Supports rendering of theme icons via the $(<name>)-syntax.
Note: This property is ignored when kind is set to QuickPickItemKind.Separator.
OptionaldetailA human-readable string which is rendered less prominently in a separate line.
Supports rendering of theme icons via the $(<name>)-syntax.
Note: This property is ignored when kind is set to QuickPickItemKind.Separator.
OptionaliconThe icon for the item.
OptionalkindThe kind of this item that determines how it is rendered in the quick pick.
When not specified, the default is QuickPickItemKind.Default.
A human-readable string which is rendered prominently.
Supports rendering of theme icons via the $(<name>)-syntax.
Note: When kind is set to QuickPickItemKind.Default (so a regular
item instead of a separator), it supports rendering of theme icons via the
$(<name>)-syntax.
OptionalpickedOptional flag indicating if this item is initially selected.
This is only honored when using the showQuickPick API. To do the same thing with the createQuickPick API, simply set the selectedItems to the items you want selected initially.
Note: This is only honored when the picker allows multiple selections.
Note: This property is ignored when kind is set to QuickPickItemKind.Separator.
OptionalresourceA Uri representing the resource associated with this item.
When set, this property is used to automatically derive several item properties if they are not explicitly provided:
Represents an item that can be selected from a list of items.