QuickPickOptions

Options to configure the behavior of the quick pick UI.

Online Documentation

Properties

Link copied to clipboard
abstract var canPickMany: Boolean?

Determines if the picker allows multiple selections. When true, the result is an array of picks.

Link copied to clipboard
abstract var ignoreFocusOut: Boolean?

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.

Link copied to clipboard

Determines if the description should be included when filtering items. Defaults to false.

Link copied to clipboard
abstract var matchOnDetail: Boolean?

Determines if the detail should be included when filtering items. Defaults to false.

Link copied to clipboard
abstract var onDidSelectItem: (item: JsAny) -> JsAny??

An optional function that is invoked whenever an item is selected.

Link copied to clipboard
abstract var placeHolder: String?

An optional string to show as placeholder in the input box to guide the user.

Link copied to clipboard
abstract var title: String?

An optional title for the quick pick.