Skip to content

Commit fc9e85e

Browse files
committed
Expose extensions.experimental.affinity in settings schema
1 parent f5014fd commit fc9e85e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,20 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
202202
'pub.name': false
203203
}
204204
},
205+
'extensions.experimental.affinity': {
206+
type: 'object',
207+
markdownDescription: localize('extensions.affinity', "Configure an extension to execute in a different extension host process."),
208+
patternProperties: {
209+
'([a-z0-9A-Z][a-z0-9-A-Z]*)\\.([a-z0-9A-Z][a-z0-9-A-Z]*)$': {
210+
type: 'integer',
211+
default: 1
212+
}
213+
},
214+
additionalProperties: false,
215+
default: {
216+
'pub.name': 1
217+
}
218+
},
205219
[WORKSPACE_TRUST_EXTENSION_SUPPORT]: {
206220
type: 'object',
207221
scope: ConfigurationScope.APPLICATION,

0 commit comments

Comments
 (0)