Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WorkspacePreferenceProvider

Hierarchy

  • PreferenceProvider
    • WorkspacePreferenceProvider

Index

Constructors

  • Returns WorkspacePreferenceProvider

Properties

_delegate: undefined | PreferenceProvider
folderPreferenceProvider: PreferenceProvider
toDisposeOnEnsureDelegateUpToDate: DisposableCollection = ...
workspaceFileProviderFactory: WorkspaceFilePreferenceProviderFactory
workspaceService: WorkspaceService

Accessors

  • get delegate(): undefined | PreferenceProvider

Methods

  • createDelegate(): undefined | PreferenceProvider
  • ensureDelegateUpToDate(): void
  • ensureResourceUri(): undefined | string
  • get<T>(preferenceName: string, resourceUri?: undefined | string): undefined | T
  • getConfigUri(resourceUri?: undefined | string, sectionName?: string): undefined | URI
  • getContainingConfigUri(resourceUri?: undefined | string, sectionName?: string): undefined | URI
  • getPreferences(resourceUri?: undefined | string): {}
  • init(): void
  • resolve<T>(preferenceName: string, resourceUri?: undefined | string): { configUri?: URI; value?: T }
  • setPreference(preferenceName: string, value: any, resourceUri?: undefined | string): Promise<boolean>