e=>TPromise.wrapError(newError(nls.localize('removeError',"Error while removing the extension: {0}. Please Quit and Start VS Code before trying again.",toErrorMessage(e))))));
()=>this.installFromGallery(galleryExtension),
e=>TPromise.wrapError(newError(nls.localize('removeError',"Error while removing the extension: {0}. Please Quit and Start VS Code before trying again.",toErrorMessage(e))))));
}
returnTPromise.wrapError(newError(nls.localize('Not a Marketplace extension',"Only Marketplace Extensions can be reinstalled")));
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));
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));
returnTPromise.wrapError<ILocalExtension>(newExtensionManagementError(nls.localize('quitCode',"Unable to install the extension. Please Quit and Start VS Code before reinstalling."),INSTALL_ERROR_UNSET_UNINSTALLED));
}
returnTPromise.wrapError<ILocalExtension>(newExtensionManagementError(nls.localize('exitCode',"Unable to install the extension. Please Exit and Start VS Code before reinstalling."),INSTALL_ERROR_UNSET_UNINSTALLED));
returnTPromise.wrapError<ILocalExtension>(newExtensionManagementError(nls.localize('quitCode',"Unable to install the extension. Please Quit and Start VS Code before reinstalling."),INSTALL_ERROR_UNSET_UNINSTALLED));
}
returnTPromise.wrapError<ILocalExtension>(newExtensionManagementError(nls.localize('exitCode',"Unable to install the extension. Please Exit and Start VS Code before reinstalling."),INSTALL_ERROR_UNSET_UNINSTALLED));