Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContextKeyServiceDummyImpl

Hierarchy

  • ContextKeyServiceDummyImpl

Implements

Index

Constructors

Properties

onDidChange: Event<ContextKeyChangeEvent> = ...
onDidChangeEmitter: Emitter<ContextKeyChangeEvent> = ...

Methods

  • createKey<T>(key: string, defaultValue: undefined | T): ContextKey<T>
  • dispose(): void
  • match(expression: string, context?: HTMLElement): boolean
  • parseKeys(expression: string): undefined | Set<string>
  • setContext(key: string, value: unknown): void
  • with<T>(values: Record<string, unknown>, callback: (() => T)): T
  • Details should be implemented by an extension, e.g. by the monaco extension. Callback must be synchronous.

    Type Parameters

    • T

    Parameters

    • values: Record<string, unknown>
    • callback: (() => T)
        • (): T
        • Returns T

    Returns T