QuickPickItem$Typings extension
Properties
-
alwaysShow
↔ bool?
-
Always show this item.
getter/setter pair
-
buttons
↔ List<QuickInputButton>?
-
Optional buttons that will be rendered on this particular item. These buttons will trigger
an {@link QuickPickItemButtonEvent} when clicked. Buttons are only rendered when using a quickpick
created by the {@link window.createQuickPick createQuickPick()} API. Buttons are not rendered when using
the {@link window.showQuickPick showQuickPick()} API.
getter/setter pair
-
description
↔ String?
-
A human-readable string which is rendered less prominent in the same line. Supports rendering of
{@link ThemeIcon theme icons} via the
$(<name>)
-syntax.
getter/setter pair
-
detail
↔ String?
-
A human-readable string which is rendered less prominent in a separate line. Supports rendering of
{@link ThemeIcon theme icons} via the
$(<name>)
-syntax.
getter/setter pair
-
iconPath
↔ Object?
-
The icon path or {@link ThemeIcon} for the QuickPickItem.
getter/setter pair
-
kind
↔ QuickPickItemKind?
-
The kind of QuickPickItem that will determine how this item is rendered in the quick pick. When not specified,
the default is {@link QuickPickItemKind.Default}.
getter/setter pair
-
label
↔ String
-
A human-readable string which is rendered prominent. Supports rendering of {@link ThemeIcon theme icons} via
the
$(<name>)
-syntax.
getter/setter pair
-
picked
↔ bool?
-
Optional flag indicating if this item is picked initially. This is only honored when using
the {@link window.showQuickPick showQuickPick()} API. To do the same thing with
the {@link window.createQuickPick createQuickPick()} API, simply set the {@link QuickPick.selectedItems}
to the items you want picked initially.
(Note: This is only honored when the picker allows multiple selections.)
getter/setter pair