Skip to main content
  • Create account
  • Log in
Eclipse Plugins, Bundles and Products - Eclipse Marketplace
  • My Marketplace
  • Add Content
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
  1. Home
  2. Marketplace
  3. Tools (1286)
  4. SonarLint

SonarLint

SonarLint
2153
43
Install

Drag to Install!

Drag to your running Eclipse* workspace.
*Requires Eclipse Marketplace Client

Add this URL to your Eclipse Installation to reach this solution's update site.

2020-12 (4.18)
2020-09 (4.17)
2020-06 (4.16)
2020-03 (4.15)
2019-12 (4.14)
2019-09 (4.13)
2019-06 (4.12)
2019-03 (4.11)
2018-12 (4.10)
2018-09 (4.9)
Photon (4.8)
Oxygen (4.7)
Neon (4.6)
Mars (4.5)
Luna (4.4)
2021-03 (4.19)

https://eclipse-uc.sonarlint.org

Learn more...

Details Group Tabs

Details

SonarLint is an IDE extension that helps you detect and fix quality issues as you write code. Like a spell checker, SonarLint squiggles flaws so they can be fixed before committing code. You can get it directly from the Eclipse Marketplace, and it will then detect new bugs and quality issues as you code (Java, JavaScript, PHP, Python and HTML).

If your project is analyzed on SonarQube or on SonarCloud, SonarLint can connect to the server to retrieve the appropriate quality profiles and settings for that project, as well as some additional languages support.

Discover more at www.sonarlint.org

SonarLint requires Eclipse to use Java 8+ as runtime (but you can analyze Java projects targeting older Java versions). For any question or feedback please join the SonarSource Community Forum .

Categories:
  • Source Code Analyzer,
  • Tools
Tags:
  • java,
  • PHP,
  • javascript,
  • Python,
  • static analysis,
  • quality,
  • sonarqube,
  • bugs,
  • security,
  • sonar,
  • sonarlint
Additional Details
Eclipse Versions: 
2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), 2021-03 (4.19)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
SonarSource S.A
Date Created: 
Thu, 2015-10-15 14:54
Development Status: 
Production/Stable
License: 
LGPL
Date Updated: 
Fri, 2021-01-15 10:17
Submitted by: 
Julien HENRY
Screenshots
Metrics
DateRankingInstallsClickthroughs
January 20216/8676913 (3.22%)40
December 20205/91913845 (3.26%)51
November 20205/92515505 (3.39%)75
October 20204/92716684 (3.55%)78
September 20204/89417070 (3.82%)67
August 20204/86714170 (3.83%)65
July 20204/87016395 (3.98%)61
June 20204/86716616 (3.87%)77
May 20204/87615997 (3.3%)99
April 20205/89117211 (3.23%)80
March 20204/89218470 (3.32%)75
February 20204/88517653 (3.58%)86
View Data for all Listings
Errors

Unsuccessful Installs in the last 7 Days: 47

CountError Message
47Cannot continue the operation. There is another install operation in progress.
Download last 500 errors (CSV)
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for SonarLint.

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Friday, January 15, 2021 - 12:55

Reviews Sign in to post reviews

kentek's picture

Cannot install from Marketplace again

Submitted by Filip K on Tue, 2020-10-20 10:28

Getting following error:

Unable to read repository at https:\/\/eclipse-uc.sonarlint.org/content.xml.
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

rdowning's picture

Re: Cannot install from Marketplace again

Submitted by Ronnie Downing on Thu, 2021-01-14 10:49

I, too get:

Unable to read repository at (https) eclipse-uc.sonarlint.org/content.xml.
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Can hit other websites from eclipse and external browner, but both (https) eclipse-uc.sonarlint.org/content.xml and (http) eclipse-uc.sonarlint.org are not found. Not Found doesn't appear to be a java keystore issue, as some of the help links suggest. Is something else wrong? Is there a way to simply download the plugin rather than install it from marketplace?

Thanks!

jhenrym6y's picture

Re: Cannot install from Marketplace again

Submitted by Julien HENRY on Thu, 2020-11-05 04:52

This is unlikely to be an issue on our side. This could be caused by corporate proxy or outdated JVM. See https://stackoverflow.com/questions/40667733/unable-to-download-plugin-f... for some possible workarounds.

forforand's picture

Won't instal from marketplace on 2020-09

Submitted by Andrew W on Mon, 2020-10-12 15:18

Won't instal from marketplace on 2020-09

Unable to read repository at https://marketplace.eclipse.org/content/sonarlint.

jhenrym6y's picture

Re: Won't instal from marketplace on 2020-09

Submitted by Julien HENRY on Tue, 2020-10-13 08:17

Our update site was down, but this should be fixed now. Sorry for the inconvenience.

kentek's picture

Re: Re: Won't instal from marketplace on 2020-09

Submitted by Filip K on Tue, 2020-10-20 10:29

<p>Hey Julien, can you check again please? We are having troubles again with the following error:<br />
Unable to read repository at &lt;url&gt;<br />
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</p>

jgoosen's picture

Lombok Issues

Submitted by Johan Goosen on Fri, 2020-05-15 09:54

Also having the same issue with regards to lombok. 

Using Eclipse Neon Release (4.6.0), SonarLint 5.1, Lombok 1.18.12.

Error:
When opening a Java file in Eclipse that uses Lombok annotations an exception is shown in the IDE: 
An internal error occurred during: “SonarLint processing file /…java”.
lombok/launch/PatchFixesHider$Transform

Other related posts/forums suggest updating Lombok to 1.18.12 which did not resolve the issue for me.

 

 

jgoosen's picture

Re: Lombok Issues

Submitted by Johan Goosen on Mon, 2020-05-18 10:54

The issue is indeed resolved with Lombok 1.18.12. 

Upgrading lombok in your project dependencies is not enough, you have to update lombok agent used by Eclipse (check your eclipse.ini). 

fmayeriti's picture

Doesn't work with Lombok

Submitted by Felix L J Mayer on Wed, 2020-02-19 13:49

We use Lombok (https://projectlombok.org/) to reduce boilerplate in our Java code. Lombok also runs as an agent to show the generated boilerplate code in the IDE. That seems to be a problem for SonarLint as it produces these messages:

An internal error occurred during: "SonarLint processing file /platform-api/src/test/java/com/elavon/eliminator/platform/authentication/LdapAuthenticationServiceTest.java".
lombok/launch/PatchFixesHider$Transform

I had to uninstall the SonarLint plugin because of that.

jbck's picture

Re: Doesn't work with Lombok

Submitted by Johann Böck on Wed, 2020-03-04 10:02

After installing lombok 1.18.12 in my Eclipse 2019-12 works the Sonarlint fine. And Thanks for the hint to install the newest versions.

jlievremont's picture

Re: Doesn't work with Lombok

Submitted by Jean-Baptiste Lievremont on Thu, 2020-02-20 02:48

Hello, thank you for your feedback.

There were a few reports on our community forum about problems due to interaction with Lombok - see e.g https://community.sonarsource.com/t/sonarlint-eclipse-plugin-eclipse-wit...

Could you please update to the lastest versions of both SonarLint and Lombok? In case of any issue, please report them on the aforementioned forum so that we can track them.

dsallago's picture

Plugin Java 8 Sonar Configure Eclipse

Submitted by DANIEL SALLAGO on Wed, 2019-11-06 10:25

How to configure sound in my eclipse development environment. Its recognize Java 6 syntax but I want to configure the syntax to recognize java 8.

Some answer?

esantosl32's picture

Unable to install in Eclipse Version 2019-09 R (4.13.0)

Submitted by Edjlle Santos on Tue, 2019-11-05 08:31

Unable to read repository at eclipse-uc.sonarlint.org/content.xml. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.

pparidatgu's picture

SonarLint Installation Issue in Eclipse Photon

Submitted by Priyadarshi Omprakash Parida on Wed, 2019-07-03 02:41

Hi, I am getting below issue during SonarLint installation in Eclipse Photon. Though it was working fine in Oxygen and Neon. Unable to read repository at https:eclipse-uc.sonarlint.org compositeContent.xml sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Can anyone help me?

jhenrym6y's picture

Re: SonarLint Installation Issue in Eclipse Photon

Submitted by Julien HENRY on Fri, 2019-08-23 07:51

For support requests, please go to our community forum.

mjaraminas's picture

Could you update sonar version? I am getting a lot of FP

Submitted by Mindaugas Jaraminas on Wed, 2019-05-22 01:47

I am getting a lot of False Positives with this version could you update to latest Sonar Lint version to get rid FPs?

loliveira24e's picture

Plugin Eclipse c++

Submitted by Luiz Oliveira on Fri, 2019-03-15 17:29

Hey there!

I was wondering if there is already a plugin for Eclipse C/C++ development.

Cheers!

jhenrym6y's picture

Re: Plugin Eclipse c++

Submitted by Julien HENRY on Mon, 2019-03-18 09:55

It is possible to use SonarLint in connected mode with SonarSource commercial C++ analyzer (assuming you are using CDT). You need to have a commercial version of SonarQube, or use SonarCloud. If you need help, please open a thread on SonarLint community forum.

hguptathh's picture

Offline Installation

Submitted by Himanshu Gupta on Tue, 2018-11-20 06:08

Hi,

Is there a way I can download binary and install offline? I didnt found package for 4.0.0 release

jhenrym6y's picture

Re: Offline Installation

Submitted by Julien HENRY on Tue, 2018-11-20 09:05

You can find it here: https://binaries.sonarsource.com/SonarLint-for-Eclipse/releases/

amontesnc0's picture

Links offline

Submitted by Alejandro Montes on Wed, 2018-10-03 08:59

Looks like the sonar repository is down.

 

jhenrym6y's picture

Re: Links offline

Submitted by Julien HENRY on Thu, 2018-10-04 11:02

We recently moved from bintray to our own hosting. But everything looks good to me. Can you open a thread on https://community.sonarsource.com/c/help/sl with the error you are facing?

Thanks

grozas's picture

It does not work in Eclipse Photon

Submitted by Garcia Rozas on Mon, 2018-09-10 11:33

Version: Photon Release (4.8.0)

Build id: 20180619-1200

When add sonar server on mydomain:9000/sonar  (http) and put my credentials always say:

Error 404 on /sonar/api/system/status and this url works perfectly on my browser.

I test with old eclipse versions ando this process work fine

Thanks !!!!!

 

 

 

 

 

jhenrym6y's picture

Re: It does not work in Eclipse Photon

Submitted by Julien HENRY on Mon, 2018-10-01 10:09

For support questions, go to https://community.sonarsource.com/c/help/sl

rmonteirodonascimentojunior's picture

SonarLint not show in my menu

Submitted by Rubens Monteiro do Nascimento Junior on Tue, 2018-08-07 17:18

Hi  people,

I installed sonarLint in my eclipse luna. But don't see when I click in right button in my project!

Anybody can help me?

lvoisine's picture

Unable to find source of error

Submitted by Louis Voisine on Mon, 2018-06-18 05:50

I've installed SonarLint and correctly linked my project to my remote server and remote project, I've marked as 'excluded' all the library files of my project (Symfony PHP web project), but when I want to run an analysis, I always get the following error no matter the configuration : 

An internal error occurred during: "SonarLint analysis of project dashboard (1 992 files to analyze, 14 excluded)".
Could not initialize class org.sonar.channel.ChannelDispatcher

If someone has already had the same error and knows how to solve it, any help is welcome !

lhuangxkj's picture

HOW TO CLOSE THE SONARLINT

Submitted by Lin Huang on Thu, 2018-06-14 01:57

how to close it ? 

3088836360's picture

it is installed in Juna,but can't find in window->Preference

Submitted by Pro By on Fri, 2018-05-18 23:47

it is installed in Juna,but can't find in window->Preference

jduker2o's picture

Cannot install in Mars or Oxygen

Submitted by Joseph Duke on Tue, 2018-02-20 19:54

I get the following when I try to install:

 

Unable to read repository at h ttps://eclipse-uc.sonarlint.org/content.xml.
Unrecognized SSL message, plaintext connection?

 

I have the Market Place client installed.  Any suggestions?

rmonteirodonascimentojunior's picture

Re: Cannot install in Mars or Oxygen

Submitted by Rubens Monteiro do Nascimento Junior on Tue, 2018-08-07 17:16

Hi,

I fixed this problem adding in my eclipse.ini the next lines:

-Djsse.enableSNIExtension=false
-Djava.net.preferIPv4Stack=true
-Dhttps.protocols=TLSv1.2

Observation:  I'm behind a proxy and  configurated my proxy in windows --> preference --> proxy!

 

by,

 

Rubens Jr.

jhenrym6y's picture

Re: Cannot install in Mars or Oxygen

Submitted by Julien HENRY on Wed, 2018-02-21 09:07

This is a composite update site, so Eclipse should be looking first for https://eclipse-uc.sonarlint.org/compositeContent.xml (which exists). If for some reason Eclipse can't get the compositeContent.xml it will try as a fallback fallback to get content.xml (that doesn't exists). So the message is misleading.

If you are behind a corporate proxy, I would check with your infra team why you can't fetch https://eclipse-uc.sonarlint.org/compositeContent.xml.

fglck's picture

Re: Re: Cannot install in Mars or Oxygen

Submitted by Frank Glück on Fri, 2018-04-13 06:19

I have the same Problem, after "Confirm selected..." I got:

Unknown Host: //eclipse-uc.sonarlint.org/content.xml
eclipse-uc.sonarlint.org

If I try to open this URL in a browser:

Not Found

The requested URL /content.xml was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

jduker2o's picture

Re: Re: Cannot install in Mars or Oxygen

Submitted by Joseph Duke on Thu, 2018-02-22 09:48

I can click on both of those links you provided, while in the office which does have a corporate fire wall, and I can retrieve both of the XML files.

snagqqt's picture

Is there a way to add SonarLint plugin using the dropins folder?

Submitted by Shakun Nag on Mon, 2017-11-27 11:14

Is there a way to add SonarLint plugin using the dropins folder?

ashah15i's picture

Mismatch between Sonar server and sonar lint reported issue

Submitted by Alpesh Shah on Thu, 2016-12-01 08:29

Hi,

Goal of installing this plugin is to see issues before actually shown on build machine. However, for me issues in Eclipse reported by sonar lint is different from reported on server. We are using server version 5.6 and sonarlint version 2.3.1.

apalajw's picture

Availabilty for Eclipse Galileo (3.5)

Submitted by Ajay Pal on Tue, 2016-07-26 02:53

Hi,
Is this plugin available for Eclipse Galileo?
If yes please guide with the process to install it!!
Thanks in advance.

vflorentino's picture

This version is not compatible with eclipse 4.5.2

Submitted by Vinicius Florentino on Tue, 2016-06-21 13:09

I got this error message in mars 2.

hjie's picture

This version is not compatible with eclipse 4.5.2

Submitted by Hua Jie on Sat, 2016-04-16 05:41

I got this error message in mars 2.

ptambay's picture

installation failed File not found compositeContent.xml

Submitted by Pavan Tambay on Wed, 2016-01-20 13:02

File not found error during installation: www.sonarlint.org/compositeContent.xml
I see that the file is available at www.sonarlint.org/eclipse/compositeContent.xml instead.
Can you please fix it?

kvaithilingam's picture

Compatibility With 4.5.1

Submitted by Karthikeyan Vaithilingam on Wed, 2016-01-20 01:37

I'm not able to install SonarLint in Mars 4.5.1 (STS 3.7.2)

sarumugam's picture

Please download the zip and

Submitted by Suresh Arumugam on Fri, 2016-01-29 17:29

Please download the zip and install as archive by selecting the downloaded zip in Install New Software option. This worked for me in STS 3.7.2.

ecoll's picture

sourceforge login required to install SonarLint plugin

Submitted by Eduardo Coll on Wed, 2015-12-16 11:52

Do we need a SourceForge account to be able to download / install SonarLint plugin? I get prompted for a SourceForge userid / password when I try to install this. Doesn't seem to be a requirement for other plugins....
Thanks

jhenrym6y's picture

This is very strange since we

Submitted by Julien HENRY on Thu, 2015-12-17 15:07

This is very strange since we have no relation at all with SourceForge. Can you please join SonarLint user group so that we can investigate (this is not the best place to handle support).

Markets

  • Eclipse Project (5)
  • Tools (1286)
    • Application Development Frameworks (155)
    • Application Management (27)
    • Application Server (37)
    • BIRT (10)
    • Build and Deploy (102)
    • Business Intelligence, Reporting and Charting (14)
    • Code Management (115)
    • Collaboration (35)
    • Database (45)
    • Database Development (33)
    • Database Persistence (17)
    • Documentation (59)
    • Eclipse Kura (64)
    • Eclipse SmartHome (46)
    • EclipseRT Target Platform Components (8)
    • Editor (331)
    • Entertainment (14)
    • General Purpose Tools (120)
    • Graphics (32)
    • IDE (326)
    • Internet of Things (IoT) (33)
    • J2EE Development Platform (42)
    • J2ME (6)
    • Languages (148)
    • Linux Tools (18)
    • Logging (22)
    • Mobile and Device Development (49)
    • Modeling (89)
    • Modeling Tools (141)
    • Mylyn Connectors (18)
    • Network (13)
    • Other (71)
    • Process (19)
    • Profiling (22)
    • Programming Languages (97)
    • Reporting (33)
    • Rich Client Applications (38)
    • Science (5)
    • SCM (17)
    • Search (39)
    • SOA Development (15)
    • Source Code Analyzer (96)
    • Systems Development (53)
    • Team Development (55)
    • Testing (86)
    • Tools (550)
    • UI (90)
    • UML (40)
    • Web (89)
    • Web Services (31)
    • Web, XML, Java EE and OSGi Enterprise Development (35)
    • XML (30)
  • IoT (114)
    • Eclipse Kura (64)
    • Eclipse SmartHome (46)
  • RCP Applications (78)
  • Training & Consulting (52)
  • Long Term Support (11)

Search

Advanced Search

More like this

  • Synopsys Code Sight
  • HCL AppScan on Cloud
  • FindBugs Eclipse Plugin
  • SpotBugs Eclipse plugin
  • Veracode Greenlight

Favorited by

Eclipse Foundation

  • About Us
  • Contact Us
  • Donate
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors

Legal

  • Publishing Guidelines
  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Welcome to Marketplace
  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top