You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewExtensionManagementError(nls.localize('malicious extension',"Can't install '{0}' extension since it was reported to be problematic.",extension.identifier.id),ExtensionManagementErrorCode.Malicious);
thrownewExtensionManagementError(nls.localize('notFoundDeprecatedReplacementExtension',"Can't install '{0}' extension since it was deprecated and the replacement extension '{1}' can't be found.",extension.identifier.id,deprecationInfo.extension.id),ExtensionManagementErrorCode.Deprecated);
@@ -664,53 +669,68 @@ export abstract class AbstractExtensionManagementService extends CommontExtensio
664
669
665
670
else{
666
671
if(awaitthis.canInstall(extension)!==true){
672
+
console.info('//// abstractExtensionManagementService.ts /// checkAndGetCompatibleVersion /// can NOT install');
thrownewExtensionManagementError(nls.localize('incompatible platform',"The '{0}' extension is not available in {1} for the {2}.",extension.identifier.id,this.productService.nameLong,TargetPlatformToString(targetPlatform)),ExtensionManagementErrorCode.IncompatibleTargetPlatform);
thrownewExtensionManagementError(nls.localize('notFoundReleaseExtension',"Can't install release version of '{0}' extension because it has no release version.",extension.displayName??extension.identifier.id),ExtensionManagementErrorCode.ReleaseVersionNotFound);
680
689
}
681
690
thrownewExtensionManagementError(nls.localize('notFoundCompatibleDependency',"Can't install '{0}' extension because it is not compatible with the current version of {1} (version {2}).",extension.identifier.id,this.productService.nameLong,this.productService.version),ExtensionManagementErrorCode.Incompatible);
691
+
}else{
692
+
console.info('//// abstractExtensionManagementService.ts /// DO compatible ');
thrownewExtensionManagementError(`Cannot install '${compatibleExtension.identifier.id}' extension because of version mismatch in Marketplace`,ExtensionManagementErrorCode.Invalid);
Copy file name to clipboardExpand all lines: code/src/vs/platform/extensionManagement/common/extensionManagementCLI.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@ export class ExtensionManagementCLI {
138
138
}
139
139
140
140
this.logger.trace(localize({key: 'updateExtensionsQuery',comment: ['Placeholder is for the count of extensions']},"Fetching latest versions for {0} extensions",installedExtensionsQuery.length));
logService.info(`Skipping migrating '${unsupportedExtension.identifier.id}' extension because, the comaptible target '${preReleaseExtensionId}' extension is not found`);
0 commit comments