Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PreferenceRegistryExtImpl

Hierarchy

  • PreferenceRegistryExtImpl

Implements

Index

Constructors

Properties

OVERRIDE_KEY_TEST: RegExp = ...
_onDidChangeConfiguration: Emitter<ConfigurationChangeEvent> = ...
_preferences: Configuration
onDidChangeConfiguration: Event<ConfigurationChangeEvent> = ...

Methods

  • getConfiguration(rawSection?: string, rawScope?: null | ConfigurationScope, extensionId?: string): WorkspaceConfiguration
  • getConfigurationModel(label: string, data: {}): ConfigurationModel
  • parseConfigurationAccessOptions(scope?: null | ConfigurationScope): IConfigurationOverrides
  • sanitize<T>(raw: T): T
  • Creates a new object and assigns those keys of raw to it that are not likely to cause prototype pollution. Also preprocesses override identifiers so that they take the form [identifier]: {...contents}.

    Type Parameters

    • T = unknown

    Parameters

    • raw: T

    Returns T

  • toReadonlyValue(data: any): any