interface QuickOpenExt { $acceptDidChangeValue(sessionId,
changedValue): Promise<void>; $acceptOnDidAccept(sessionId): Promise<void>; $acceptOnDidHide(sessionId): Promise<void>; $acceptOnDidTriggerButton(sessionId,
btn): Promise<void>; $onDidChangeActive(sessionId,
handles): void; $onDidChangeSelection(sessionId,
handles): void; $onDidTriggerItemButton(sessionId,
itemHandle,
buttonHandle): void; $onItemSelected(handle): void; $validateInput(input): Promise<undefined | null | string | { content: string; severity: Severity; }>; createInputBox(plugin): InputBox; createQuickPick<T>(plugin): QuickPick<T>; showInput(options?,
token?): PromiseLike<undefined | string>; showQuickPick(plugin,
itemsOrItemsPromise,
options,
token?): Promise<undefined | QuickPickItem[]>; showQuickPick(plugin,
itemsOrItemsPromise,
options?,
token?): Promise<undefined | string>; showQuickPick(plugin,
itemsOrItemsPromise,
options?,
token?): Promise<undefined | QuickPickItem>; } Methods
$acceptDidChangeValue
- $acceptDidChangeValue(sessionId, changedValue): Promise<void>
Parameters
- sessionId: number
- changedValue: string
Returns Promise<void>
$acceptOnDidAccept
- $acceptOnDidAccept(sessionId): Promise<void>
Returns Promise<void>
$acceptOnDidHide
- $acceptOnDidHide(sessionId): Promise<void>
Returns Promise<void>
$acceptOnDidTriggerButton
- $acceptOnDidTriggerButton(sessionId, btn): Promise<void>
Parameters
- sessionId: number
- btn: QuickInputButtonHandle
Returns Promise<void>
$onDidChangeActive
- $onDidChangeActive(sessionId, handles): void
Parameters
- sessionId: number
- handles: number[]
Returns void
$onDidChangeSelection
- $onDidChangeSelection(sessionId, handles): void
Parameters
- sessionId: number
- handles: number[]
Returns void
$onDidTriggerItemButton
- $onDidTriggerItemButton(sessionId, itemHandle, buttonHandle): void
Parameters
- sessionId: number
- itemHandle: number
- buttonHandle: number
Returns void
$onItemSelected
- $onItemSelected(handle): void
Returns void
$validateInput
- $validateInput(input): Promise<undefined | null | string | {
content: string;
severity: Severity;
}> Returns Promise<undefined | null | string | {
content: string;
severity: Severity;
}>
showInput
- showInput(options?, token?): PromiseLike<undefined | string>
Returns PromiseLike<undefined | string>
showQuickPick
- showQuickPick(plugin, itemsOrItemsPromise, options, token?): Promise<undefined | QuickPickItem[]>
Returns Promise<undefined | QuickPickItem[]>
- showQuickPick(plugin, itemsOrItemsPromise, options?, token?): Promise<undefined | string>
Returns Promise<undefined | string>
- showQuickPick(plugin, itemsOrItemsPromise, options?, token?): Promise<undefined | QuickPickItem>
Returns Promise<undefined | QuickPickItem>