Protected
_Protected
Readonly
_Protected
Readonly
configurationsProtected
deferredProtected
fireProtected
Readonly
folderProtected
Readonly
loadingProtected
Readonly
onReadonly
onProtected
Readonly
onProtected
Readonly
preferenceProtected
Readonly
preferenceProtected
preferencesProtected
preferenceProtected
Readonly
preferenceProtected
Readonly
schemaProtected
Readonly
sectionProtected
Readonly
toProtected
Readonly
uriProtected
Readonly
workspaceResolved when the preference provider is ready to provide preferences It should be resolved by subclasses.
Dispose this object.
Protected
doProtected
doProtected
emitInforms the listeners that one or more preferences of this provider are changed. The listeners are able to find what was changed from the emitted event.
Retrieve the stored value for the given preference and resource URI.
the preference identifier.
Optional
resourceUri: stringthe uri of the resource for which the preference is stored. This is used to retrieve
a potentially different value for the same preference for different resources, for example files.encoding
.
the value stored for the given preference and resourceUri if it exists, otherwise undefined
.
Optional
getRetrieves the first valid configuration URI contained by the given resource.
Optional
resourceUri: stringthe uri of the container resource or undefined
.
Optional
sectionName: stringthe first valid configuration URI contained by the given resource undefined
if there is no valid configuration URI at all.
Retrieve the domain for this provider.
the domain or undefined
if this provider is suitable for all domains.
Protected
getProtected
getReturn a JSONObject with all preferences stored in this preference provider
Optional
resourceUri: stringProtected
getProtected
handleProtected
initProtected
mergeProtected
parseeslint-disable-next-line @typescript-eslint/no-explicit-any
Protected
readProtected
readProtected
resetResolve the value for the given preference and resource URI.
the preference identifier.
Optional
resourceUri: stringthe URI of the resource for which this provider should resolve the preference. This is used to retrieve
a potentially different value for the same preference for different resources, for example files.encoding
.
an object containing the value stored for the given preference and resourceUri if it exists,
otherwise undefined
.
Stores a new value for the given preference key in the provider.
the preference key (typically the name).
the new preference value.
Optional
resourceUri: stringthe URI of the resource for which the preference is stored.
a promise that only resolves if all changes were delivered.
If changes were made then implementation must either
await on this.emitPreferencesChangedEvent(...)
or
this.pendingChanges
if changes are fired indirectly.
The overrides in this file are required because the base preference providers assume that a section name (extensions) will not be used as a prefix (extensions.ignoreRecommendations).