如何安装 SonarLint 的旧 Eclipse 插件
How to install an older Eclipse plugin of SonarLint
目前在 Eclipse Marketplace 中,SonarLint 仅在最新版本 (2.5.1) 中可用。出于兼容性原因,我需要版本 (2.2.1)。
如何安装我选择的旧版本?
不使用 Eclipse Marketplace,而是使用 帮助 → 安装新软件中的菜单。
添加 sonarlint URL:
http://eclipse.sonarlint.org/
而不是 取消选中 "Show only the latest versions of available software"。
您将看到 sonarlint 的所有可用版本。如果您已经安装了意外版本,您需要先在帮助 → 安装详细信息中将其卸载。
我遇到了完全相同的问题。以下是我的管理方式:
向 Google 询问 "sonarlint 2.1.0"
您会找到 link 到 2.1.0 - Bintray
的页面
您将能够下载一个 zip。
然后,stack 将帮助您从磁盘安装 zip。
希望对您有所帮助!
旧版 SonarLint 的官方 zip 文件在这里:
https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/
下载 zip 文件后,在 Eclipse 中:
Help -> Install New Software -> Add -> Archive -> the zip file
目前在 Eclipse Marketplace 中,SonarLint 仅在最新版本 (2.5.1) 中可用。出于兼容性原因,我需要版本 (2.2.1)。
如何安装我选择的旧版本?
不使用 Eclipse Marketplace,而是使用 帮助 → 安装新软件中的菜单。 添加 sonarlint URL:
http://eclipse.sonarlint.org/
而不是 取消选中 "Show only the latest versions of available software"。
您将看到 sonarlint 的所有可用版本。如果您已经安装了意外版本,您需要先在帮助 → 安装详细信息中将其卸载。
我遇到了完全相同的问题。以下是我的管理方式:
向 Google 询问 "sonarlint 2.1.0"
您会找到 link 到 2.1.0 - Bintray
的页面
您将能够下载一个 zip。
然后,stack 将帮助您从磁盘安装 zip。
希望对您有所帮助!
旧版 SonarLint 的官方 zip 文件在这里: https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/
下载 zip 文件后,在 Eclipse 中:
Help -> Install New Software -> Add -> Archive -> the zip file