returnTPromise.wrapError(newError(localize('notCompatibleDownload',"Unable to download because the extension compatible with current version '{0}' of VS Code is not found.",pkg.version)));
returnTPromise.wrapError<IRawGalleryExtensionVersion>(newError(localize('noCompatible',"Couldn't find a compatible version of {0} with this version of Code.",extension.displayName||extension.extensionName)));
returnTPromise.wrapError<IGalleryExtension[]>(newInstallationError(nls.localize('notFoundCopatible',"Unable to install because, the extension '{0}' compatible with current version '{1}' of VS Code is not found.",extension.identifier.id,pkg.version),INSTALL_ERROR_INCOMPATIBLE));
.then(obsolete=>obsolete.length?TPromise.wrapError<IGalleryExtension[]>(newError(nls.localize('restartCodeGallery',"Please restart Code before reinstalling."))):extensionsToInstall);
...
...
@@ -231,8 +255,24 @@ export class ExtensionManagementService implements IExtensionManagementService {
returnTPromise.wrapError<InstallableExtension>(newInstallationError(nls.localize('notFoundCompatibleDependency',"Unable to install because, the depending extension '{0}' compatible with current version '{1}' of VS Code is not found.",extension.identifier.id,pkg.version),INSTALL_ERROR_INCOMPATIBLE));