File allow-proposed-extension-apis.patch of Package code
Always allow proposed extension apis to save users pain when using some extensions from Microsoft. eg. Python
--- a/src/vs/workbench/services/extensions/common/extensionsProposedApi.ts 2022-07-05 20:15:23.000000000 +0200
+++ b/src/vs/workbench/services/extensions/common/extensionsProposedApi.ts 2022-07-08 10:26:56.273587617 +0200
@@ -24,10 +24,7 @@
this._envEnabledExtensions = new Set((_environmentService.extensionEnabledProposedApi ?? []).map(id => ExtensionIdentifier.toKey(id)));
- this._envEnablesProposedApiForAll =
- !_environmentService.isBuilt || // always allow proposed API when running out of sources
- (_environmentService.isExtensionDevelopment && productService.quality !== 'stable') || // do not allow proposed API against stable builds when developing an extension
- (this._envEnabledExtensions.size === 0 && Array.isArray(_environmentService.extensionEnabledProposedApi)); // always allow proposed API if --enable-proposed-api is provided without extension ID
+ this._envEnablesProposedApiForAll = true
this._productEnabledExtensions = new Map<string, ApiProposalName[]>();