Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • QuickOpenExtImpl

Implements

Index

Constructors

Properties

_instances: number = 0
_sessions: Map<number, QuickInputExt> = ...
onDidSelectItem: undefined | ((handle: number) => void)
validateInputHandler?: ((input: string) => MaybePromise<undefined | null | string | InputBoxValidationMessage>)

Type declaration

    • (input: string): MaybePromise<undefined | null | string | InputBoxValidationMessage>
    • Parameters

      • input: string

      Returns MaybePromise<undefined | null | string | InputBoxValidationMessage>

Methods

  • $acceptDidChangeValue(sessionId: number, changedValue: string): Promise<void>
  • $acceptOnDidAccept(sessionId: number): Promise<void>
  • $acceptOnDidHide(sessionId: number): Promise<void>
  • $acceptOnDidTriggerButton(sessionId: number, btn: QuickInputButtonHandle): Promise<void>
  • $onDidChangeActive(sessionId: number, handles: number[]): void
  • $onDidChangeSelection(sessionId: number, handles: number[]): void
  • $onDidTriggerItemButton(sessionId: number, itemHandle: number, buttonHandle: number): void
  • $onItemSelected(handle: number): void
  • $validateInput(input: string): Promise<undefined | null | string | { content: string; severity: Severity }>
  • createInputBox(plugin: Plugin): InputBox
  • createQuickPick<T>(plugin: Plugin): QuickPick<T>
  • hide(): void
  • showInput(options?: InputBoxOptions, token?: CancellationToken): PromiseLike<undefined | string>
  • 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>