Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MonacoQuickInputService

Hierarchy

  • MonacoQuickInputService

Implements

  • QuickInputService

Index

Constructors

Properties

keybindingRegistry: KeybindingRegistry

Accessors

  • get backButton(): QuickInputButton
  • get onHide(): Event<void>
  • get onShow(): Event<void>

Methods

  • createInputBox(): InputBox
  • createQuickPick<T>(): QuickPick<T>
  • hide(): void
  • input(options?: InputOptions, token?: CancellationToken): Promise<undefined | string>
  • open(filter: string): void
  • pick<T, O>(picks: QuickPickInput<T>[] | Promise<QuickPickInput<T>[]>, options?: O, token?: CancellationToken): Promise<undefined | (O extends { canPickMany: true } ? T[] : T)>
  • Type Parameters

    • T extends QuickPickItem

    • O extends PickOptions<T, O> = PickOptions<T>

    Parameters

    • picks: QuickPickInput<T>[] | Promise<QuickPickInput<T>[]>
    • Optional options: O
    • Optional token: CancellationToken

    Returns Promise<undefined | (O extends { canPickMany: true } ? T[] : T)>

  • showQuickPick<T>(items: (T | QuickPickSeparator)[], options?: QuickPickOptions<T>): Promise<undefined | T>