showQuickPickAsync

fun showQuickPickAsync(items: JsAny, options: QuickPickOptions = definedExternally, token: CancellationToken = definedExternally): PromiseLike<JsString?>(source)(source)

Shows a selection list.

Parameters

items

An array of strings, or a promise that resolves to an array of strings.

options

Configures the behavior of the selection list.

token

A token that can be used to signal cancellation.


fun <T : QuickPickItem> showQuickPickAsync(items: JsAny, options: QuickPickOptions = definedExternally, token: CancellationToken = definedExternally): PromiseLike<T?>(source)(source)

Shows a selection list.

Parameters

items

An array of items, or a promise that resolves to an array of items.

options

Configures the behavior of the selection list.

token

A token that can be used to signal cancellation.