picked

abstract var picked: Boolean?(source)

Optional flag indicating if this item is initially selected.

This is only honored when using the window.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.

See also