Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrefixQuickOpenService

Prefix-based quick open service.

Hierarchy

  • PrefixQuickOpenService

Index

Properties

Protected currentHandler

currentHandler: QuickOpenHandler | undefined

Protected Readonly handlers

Protected Readonly quickOpenService

quickOpenService: QuickOpenService

Protected Readonly quickTitleBar

quickTitleBar: QuickTitleBar

Protected toDisposeCurrent

toDisposeCurrent: DisposableCollection = new DisposableCollection()

Methods

Protected doOpen

Protected onType

open

  • open(prefix: string): void
  • Opens a quick open widget with the model that handles the known prefixes.

    Parameters

    • prefix: string

      string that may contain a prefix of some of the known quick open handlers. A default quick open handler will be called if the provided string doesn't match any. An empty quick open will be opened if there's no default handler registered.

    Returns void

Protected setCurrentHandler

  • setCurrentHandler(prefix: string, handler: QuickOpenHandler | undefined): Promise<void>