Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:tools:ide:vscode
code
allow-proposed-extension-apis.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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[]>();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor