Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MonacoQuickInputImplementation

Hierarchy

  • MonacoQuickInputImplementation

Implements

  • IQuickInputService

Index

Constructors

Properties

_serviceBrand: undefined
colorRegistry: MonacoColorRegistry
container: HTMLElement
contextKeyService: ContextKeyService
controller: QuickInputController
inQuickOpen: IContextKey<boolean>
quickAccess: IQuickAccessController
quickInputList: List<unknown>
shell: ApplicationShell
themeService: ThemeService

Accessors

  • get backButton(): IQuickInputButton
  • get onHide(): IEvent<void>
  • get onShow(): IEvent<void>

Methods

  • accept(keyMods?: IKeyMods): Promise<void>
  • applyStyles(styles: IQuickInputStyles): void
  • back(): Promise<void>
  • cancel(): Promise<void>
  • createInputBox(): IInputBox
  • createQuickPick<T>(): IQuickPick<T>
  • dispose(): void
  • focus(): void
  • getClientDimension(): IDimension
  • getOptions(): IQuickInputOptions
  • getStyles(): IQuickInputStyles
  • hide(): void
  • init(): void
  • initContainer(): void
  • initController(): void
  • input(options?: IInputOptions, token?: CancellationToken): Promise<undefined | string>
  • layout(dimension: IDimension, titleBarOffset: number): void
  • navigate(next: boolean, quickNavigate?: IQuickNavigateConfiguration): void
  • 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 IQuickPickItem

    • O extends IPickOptions<T, O>

    Parameters

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

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

  • setContextKey(key: undefined | string): void
  • toggle(): void
  • updateLayout(): void