Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

_fileExists: boolean = false
_folderUri: URI
configurations: PreferenceConfigurations
fileService: FileService
folder: FileStat
loading: Deferred<void> = ...
onDidChangeValidityEmitter: Emitter<boolean> = ...
preferenceConfigurations: PreferenceConfigurations
preferences: Record<string, any> = {}
schemaProvider: PreferenceSchemaProvider
section: string
transaction: undefined | PreferenceTransaction
transactionFactory: PreferenceTransactionFactory
uri: URI
workspaceService: WorkspaceService

Accessors

  • set fileExists(exists: boolean): void
  • get folderUri(): URI
  • get isSection(): boolean
  • get onDidChangeValidity(): Event<boolean>
  • get valid(): boolean

Methods

  • contains(resourceUri: undefined | string): boolean
  • doInit(): Promise<void>
  • doSetPreference(key: string, path: string[], value: unknown): Promise<boolean>
  • getConfigUri(): URI
  • getConfigUri(resourceUri: undefined | string): undefined | URI
  • getDomain(): string[]
  • getPath(preferenceName: string): undefined | string[]
  • getPreferences(resourceUri?: string): {}
  • getScope(): PreferenceScope
  • getUri(): URI
  • handlePreferenceChanges(newPrefs: {}): void
  • init(): void
  • parse(content: string): any
  • readPreferencesFromContent(content: string): void
  • readPreferencesFromFile(): Promise<void>
  • reset(): void
  • setPreference(key: string, value: any, resourceUri?: string): Promise<boolean>