Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkspaceFilePreferenceProvider

Hierarchy

Index

Constructors

Properties

_fileExists: boolean = false
configurations: PreferenceConfigurations
fileService: FileService
loading: Deferred<void> = ...
onDidChangeValidityEmitter: Emitter<boolean> = ...
preferences: Record<string, any> = {}
schemaProvider: PreferenceSchemaProvider
sectionsInsideSettings: Set<string> = ...
transaction: undefined | PreferenceTransaction
transactionFactory: PreferenceTransactionFactory
workspaceService: WorkspaceService

Accessors

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

Methods

  • belongsInSection(firstSegment: string, remainder: string): boolean
  • 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): 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>