11

Currently in the Eclipse Marketplace SonarLint is only available in the latest version (2.5.1). For a compatibility reason I need to have version (2.2.1).

How can i install an older version of my choice?

3 Answers3

24

Instead of using Eclipse Marketplace, use menu in Help → Install New Software. Add sonarlint URL:

http://eclipse.sonarlint.org/

and than uncheck "Show only the latest versions of available software".

You will see all available version of sonarlint. If you already have it installed with unexpected version, you need to uninstall it first in Help → Installation Details.

Nathan Tuggy
  • 2,230
  • 27
  • 29
  • 38
nazrvl
  • 266
  • 3
  • 3
  • 2
    Unfortunately, it appears that they're only making the most recent versions available at all this way. As of August 2017, when I uncheck "Show only the latest versions..." I see only 3.2.0.x and 3.1.0.x. I'm trying to local 2.2.1 due to limitations on the SonarQube server side, so I'm still digging. – Devon Biere Aug 09 '17 at 14:29
6

I had exactly the same issue. Here is how I managed it:

  1. Ask Google for "sonarlint 2.1.0"

  2. You'll find a page link to 2.1.0 - Bintray

  3. You will be able to download a zip.

  4. Then, this stack will help you install the zip from your disk.

Hope it helps!

avi.elkharrat
  • 5,084
  • 5
  • 39
  • 43
2

The official zip files for legacy versions of SonarLint are here: https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/

After downloading the zip file, in Eclipse:

Help -> Install New Software -> Add -> Archive -> the zip file
Paco Abato
  • 3,705
  • 4
  • 24
  • 48