Readonly
overrideReadonly
readyResolves after static contributions have been processed
Readonly
validThe scopes which this preference schema service handles. Any properties that are not applicable within the valid scopes will be ignored
Add a preference schema. It is an error to register the same property in two different schemas
The schema to add
A disposable to remove the schema
Get the default value for a preference. This is the value a client will see for the given key/override
The preference key
The override identifier, undefined for global default
The default value or undefined if not found
Gets a JSON schema a preference.json file for the given scope.
The scope to generate schema for
The JSON schema
Gets the default value for a preference. This method not fall back to the global value if no override is given
The preference key
The override identifier, undefined for global default
The default value or undefined if not found
Check if a preference is valid in a specific scope
The preference name
The scope to check
True if the preference is valid in the given scope
Register an override for a preference default value. If multiple overrides are registered for the same value, the last override will be in effect. Removing the last override will make the second-to-last override active, etc.
The preference key
The override identifier, undefined for global default
The default value
A disposable to unregister the override
Register an override identifier for language specific preferences
The identifier to register
A disposable to unregister the identifier
Update a property in the schema. The corresponding JSON Schemas, etc. will be updated
The property key
The updated property
Public events