SonarLint

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

2024-03 (4.31), 2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 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)

https://eclipse-uc.sonarlint.org

Learn more...
Solution Description

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 for the following languages: Java (available with JDT), JavaScript / TypeScript / CSS (available with Node.js), HTML, PHP, and Python.

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 language support.

In that case, the additional languages are ABAP, Apex, C/C++ (available with CDT), COBOL (available with a COBOL-IDE), JCL, Kotlin, PL/I, PL/SQL, RPG, Ruby, Scala, and T-SQL.

Discover more at https://docs.sonarsource.com/sonarlint/eclipse/

SonarLint requires Eclipse to use Java 11+ as runtime but you can analyze Java projects targeting older or newer Java versions. In order to run analyzers from SonarQube 10.5+ and SonarCloud that require a Java 17 runtime, we provide our own one for the analysis if the IDE itself is not running on a sufficient JRE. If you want to use your own one to keep full control, take a look at the dedicated documentation.

For any questions or feedback, please join the SonarSource Community Forum.

Additional Details

Eclipse Versions: 2024-03 (4.31), 2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2022-09 (4.25), 2022-06 (4.24), 2022-03 (4.23), 2021-12 (4.22), 2021-09 (4.21), 2021-06 (4.20), 2021-03 (4.19), 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)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: SonarSource S.A

Development Status: Production/Stable

Date Created: Thursday, October 15, 2015 - 14:54

License: LGPL

Date Updated: Tuesday, May 28, 2024 - 03:23

Submitted by: Julien HENRY

Screenshot
Date Ranking Installs Clickthroughs
June 2024 0/0 0 0
May 2024 8/681 8664 206
April 2024 8/687 9420 56
March 2024 7/694 10340 74
January 2024 7/691 9155 80
December 2023 8/671 7972 38
November 2023 9/686 9718 67
October 2023 7/673 12233 75
September 2023 7/663 11944 60
August 2023 6/673 11067 55
July 2023 6/668 11978 90
June 2023 7/669 12403 56
View Data for all Listings

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

Reviews Add new review

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 !

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?

In reply to by Joseph Duke

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.

In reply to by Julien HENRY

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.