简体   繁体   English

如何安装 SonarLint 的旧版 Eclipse 插件

[英]How to install an older Eclipse plugin of SonarLint

Currently in the Eclipse Marketplace SonarLint is only available in the latest version (2.5.1).目前在 Eclipse Marketplace SonarLint 仅提供最新版本(2.5.1)。 For a compatibility reason I need to have version (2.2.1).出于兼容性原因,我需要版本 (2.2.1)。

How can i install an older version of my choice?如何安装我选择的旧版本?

Instead of using Eclipse Marketplace, use menu in Help → Install New Software. 而不是使用Eclipse Marketplace,使用帮助→安装新软件中的菜单 Add sonarlint URL: 添加sonarlint网址:

http://eclipse.sonarlint.org/

and than uncheck "Show only the latest versions of available software". 然后取消选中 “仅显示可用软件的最新版本”。

You will see all available version of sonarlint. 您将看到sonarlint的所有可用版本。 If you already have it installed with unexpected version, you need to uninstall it first in Help → Installation Details. 如果已经安装了意外版本,则需要先在“帮助”→“安装详细信息”中将其卸载。

I had exactly the same issue. 我有完全相同的问题。 Here is how I managed it: 以下是我管理它的方式:

  1. Ask Google for "sonarlint 2.1.0" 向谷歌询问“sonarlint 2.1.0”

  2. You'll find a page link to 2.1.0 - Bintray 你会找到一个到2.1.0 - Bintray的页面链接

  3. You will be able to download a zip. 您将能够下载一个zip。

  4. Then, this stack will help you install the zip from your disk. 然后,此堆栈将帮助您从磁盘安装zip。

Hope it helps! 希望能帮助到你!

The official zip files for legacy versions of SonarLint are here: https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/ 旧版SonarLint的官方zip文件位于: https ://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/

After downloading the zip file, in Eclipse: 下载zip文件后,在Eclipse中:

Help -> Install New Software -> Add -> Archive -> the zip file

The new URL to install older Sonarlint versions is安装旧版本 Sonarlint 的新 URL 是

https://eclipse-uc.sonarlint.org with this one you can install the older versions from 5.9 up to 7.6 https://eclipse-uc.sonarlint.org用这个你可以安装从 5.9 到 7.6 的旧版本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM