如何安装较旧的SonarLint Eclipse插件

Arn*_*old 9 eclipse sonarlint sonarlint-eclipse

目前在Eclipse Marketplace中,SonarLint仅在最新版本(2.5.1)中提供.出于兼容性原因,我需要有版本(2.2.1).

如何安装我选择的旧版本?

小智 13

而不是使用Eclipse Marketplace,使用帮助→安装新软件中的菜单. 添加sonarlint网址:

http://eclipse.sonarlint.org/
Run Code Online (Sandbox Code Playgroud)

然后取消选中 "仅显示可用软件的最新版本".

您将看到sonarlint的所有可用版本.如果已经安装了意外版本,则需要先在"帮助"→"安装详细信息"中将其卸载.

  • 不幸的是,看来他们只是以这种方式提供最新版本。截至2017年8月,当我取消选中“仅显示最新版本...”时,我仅看到3.2.0.x和3.1.0.x。由于SonarQube服务器端的限制,我尝试使用本地2.2.1,因此我仍在研究中。 (2认同)

Pac*_*ato 8

旧版 SonarLint 的官方 zip 文件位于此处:

https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/

下载 zip 文件后,在 Eclipse 中:

Help -> Install New Software -> Add -> Archive -> the zip file
Run Code Online (Sandbox Code Playgroud)

编辑:正如 user1323562 在评论中指出的那样,新的 URL 是:

https://binaries.sonarsource.com/?prefix=SonarLint-for-Eclipse/releases/

  • 现在的 URL 是 > https://binaries.sonarsource.com/?prefix=SonarLint-for-Eclipse/releases/ (4认同)

avi*_*rat 6

我有完全相同的问题.以下是我管理它的方式:

  1. 向谷歌询问"sonarlint 2.1.0"

  2. 你会找到一个到2.1.0 - Bintray的页面链接

  3. 您将能够下载一个zip.

  4. 然后,此堆栈将帮助您从磁盘安装zip.

希望能帮助到你!