Expose `extensions.experimental.affinity` in settings schema

pull/145944/head^2
Alex Dima 2022-03-24 22:01:31 +01:00
parent f5014fdd2a
commit fc9e85ea3e
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9
1 changed files with 14 additions and 0 deletions

View File

@ -202,6 +202,20 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
'pub.name': false
}
},
'extensions.experimental.affinity': {
type: 'object',
markdownDescription: localize('extensions.affinity', "Configure an extension to execute in a different extension host process."),
patternProperties: {
'([a-z0-9A-Z][a-z0-9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$': {
type: 'integer',
default: 1
}
},
additionalProperties: false,
default: {
'pub.name': 1
}
},
[WORKSPACE_TRUST_EXTENSION_SUPPORT]: {
type: 'object',
scope: ConfigurationScope.APPLICATION,