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