mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
tweak error messages when API proposal isn't available, https://github.com/microsoft/vscode/issues/131165
This commit is contained in:
@@ -750,7 +750,7 @@ menusExtensionPoint.setHandler(extensions => {
|
||||
}
|
||||
|
||||
if (menu.proposed && !isProposedApiEnabled(extension.description, menu.proposed)) {
|
||||
collector.error(localize('proposedAPI.invalid', "{0} is a proposed menu identifier and is only available when running out of dev or with the following command line switch: --enable-proposed-api {1}", entry.key, extension.description.identifier.value));
|
||||
collector.error(localize('proposedAPI.invalid', "{0} is a proposed menu identifier. It requires 'package.json#enabledApiProposals: [\"{1}\"]' and is only available when running out of dev or with the following command line switch: --enable-proposed-api {2}", entry.key, menu.proposed, extension.description.identifier.value));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user