14

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?

The Digital Ad Venture
  • 1,576
  • 1
  • 16
  • 24

4 Answers4

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,237
  • 27
  • 30
  • 38
nazrvl
  • 274
  • 3
  • 3
  • 3
    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
7

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
  • 6,100
  • 6
  • 41
  • 47
6

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

Edit: as pointed by user1323562 in comments the new URL is:

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

Paco Abato
  • 3,920
  • 4
  • 31
  • 54
1

The new URL to install older Sonarlint versions is

https://eclipse-uc.sonarlint.org with this one you can install the older versions from 5.9 up to 7.6

Grismak
  • 192
  • 16