.then(()=>this.logService.info('Successfully installed the extension',identifier.id),e=>this.logService.error('Failed to install the extension',identifier.id,e.message));
}
returnnull;
}),
...
...
@@ -163,9 +167,11 @@ export class ExtensionManagementService implements IExtensionManagementService {
returnthis.isUninstalled(id)
.then(isUninstalled=>{
if(isUninstalled){
this.logService.trace('Removing the extension',id);
returnTPromise.wrapError<InstallableExtension>(newExtensionManagementError(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));
...
...
@@ -286,6 +296,7 @@ export class ExtensionManagementService implements IExtensionManagementService {