SonarLint

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

2024-09 (4.33), 2024-06 (4.32), 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 extension that helps you detect and fix quality and security 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/JSP (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 it to retrieve the appropriate quality profiles and settings for that project, as well as some additional language support and see what issues are already present on the server.

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

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

SonarLint requires the IDE to use Java 11+ as its runtime, but you can analyze Java projects targeting older or newer Java versions. IDEs running on Java 8 or older are no longer supported!

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, including bugs or feature requests, please join the SonarSource Community Forum.

Additional Details

Eclipse Versions: 2024-09 (4.33), 2024-06 (4.32), 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, October 1, 2024 - 03:48

Submitted by: Julien HENRY

Screenshot
Date Ranking Installs Clickthroughs
October 2024 6/444 691 6
September 2024 7/642 8823 75
August 2024 6/641 7284 61
July 2024 6/663 8194 65
June 2024 7/681 8455 62
May 2024 8/682 8968 208
April 2024 8/687 9420 56
March 2024 7/694 10340 74
February 2024 7/687 9019 332
January 2024 7/691 9155 80
December 2023 8/671 7972 38
November 2023 9/686 9718 67
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

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 !!!!!

 

 

 

 

 

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.