Skip to content

Releases: SonarSource/sonarlint-eclipse

10.6.0.82217

03 Sep 13:12
Compare
Choose a tag to compare

For full release notes, see JIRA.

Changes to the SonarLint for Eclipse extension points

This release features changes to two specific extension points.

SonarLint Syntax Highlighting Provider

The org.sonarlint.eclipse.core.syntaxHighlightingProvider was moved from the CORE bundle to org.sonarlint.eclipse.ui.syntaxHighlightingProvider in the UI bundle. Therefore, the interface of the extension point can now be found at org.sonarlint.eclipse.ui.rule.ISyntaxHighlightingProvider.

The reasoning behind this was to decouple the CORE bundle from anything UI related, as the extension point is only built around it. Additionally, additions to it made in this release made it necessary.

Extension point Method Removed or added? Why?
org.sonarlint.eclipse.ui.syntaxHighlightingProvider org.sonarlint.eclipse.ui.rule.ISyntaxHighlightingProvider#getEditorLanguage() Added To get the corresponding SonarLint-related language of an editor
org.sonarlint.eclipse.ui.syntaxHighlightingProvider org.sonarlint.eclipse.ui.rule.ISyntaxHighlightingProvider#getTextMergeViewer() Added Get a language-specific diff viewer

SonarLint Project Scope Provider

This release features an additional extension point provided by SonarLint for Eclipse that can be used by third parties in order to narrow down the focus for SonarLint in terms of what is indexed and taken into account for analysis. The idea behind these changes is to improve the performance and lower the memory footprint of the plug-in.

As an example, see the current implementation in the sub-plugin for Maven. There we exclude the output directories as well as possible sub-modules as these are technically still available as resources in the parent project, even when the sub-modules are imported into Eclipse as well.

Extension point Method Removed or added? Why?
org.sonarlint.eclipse.core.projectScopeProvider org.sonarlint.eclipse.core.resource.IProjectScopeProvider#getExclusions() Added Get exclusions to narrow down the focus for SonarLint

If you have any questions regarding these changes, then please reach out to us via the Community Forum directly!

10.5.0.82112

31 Jul 15:07
Compare
Choose a tag to compare

This version enables developers to be more aware when a new version of SonarLint for Eclipse is available and introduces the possibility of detecting more advanced issues in Java in Connected Mode.

More details in the Sonar Community announcement and in the release notes.

10.4.0.82051

05 Jul 11:52
0af5391
Compare
Choose a tag to compare

This version enables developers to open any issue they are investigating in SonarCloud into Eclipse and also enables standalone users of SonarLint (not in Connected Mode) to apply the Clean as You Code methodology in the IDE by focusing on new code.

More details in the Sonar Community announcement and in the release notes.

10.3.0.82013

27 Jun 09:00
3b0f598
Compare
Choose a tag to compare

For full release notes, see JIRA.

10.2.0.81875

23 May 12:31
a9d72aa
Compare
Choose a tag to compare

This version improved the support of COBOL and COBOL IDEs and the usage of SonarLint in pre-configured and strict environments. We also enabled 21 rules on test sources and fixed 8 False-Positives on Java.

More details in the Sonar Community announcement and in the release notes.

10.1.0.81817

24 Apr 07:58
b86c376
Compare
Choose a tag to compare

This version introduces the possibility of sharing the Connected Mode setup among contributors to empower teams' collaboration. We also added Java 21 and new sustainability rules on Java. Note that we are dropping the support of NodeJS v16.

More details in the Sonar Community announcement and in the release notes.

Changes to the SonarLint for Eclipse extension points

This release features an additional extension point provided by SonarLint for Eclipse that can be used by third parties in order to work with hierarchical project structures that have only limited support in Eclipse or none at all. The new extension point is currently only used for sharing and consuming the Connected Mode setup among contributors (mentioned above), but work is planned to extend the usage to the Open in IDE feature as well as exclusions and cross-project analysis to sort out duplications.

Extension point Method Removed or added? Why?
org.sonarlint.eclipse.core.projectHierarchyProvider org.sonarlint.eclipse.core.resource.ISonarLintProjectHierarchyProvider#getHierarchyProviderIdentifier() Added This information might be displayed to the user and should be therefore destinct
org.sonarlint.eclipse.core.projectHierarchyProvider org.sonarlint.eclipse.core.resource.ISonarLintProjectHierarchyProvider#partOfHierarchy() Added Some logic might be different, based on this information
org.sonarlint.eclipse.core.projectHierarchyProvider org.sonarlint.eclipse.core.resource.ISonarLintProjectHierarchyProvider#getRootProject() Added Some logic might be different, based on this information
org.sonarlint.eclipse.core.projectHierarchyProvider org.sonarlint.eclipse.core.resource.ISonarLintProjectHierarchyProvider#getSubProjects() Added Some logic might be different, based on this information

If you have any questions regarding these changes, then please reach out to us via the Community Forum directly!

10.0.1.81733

14 Mar 16:13
Compare
Choose a tag to compare

This version adds bug fixes related to the internal changes made from the previous release.

For full release notes, see JIRA.

10.0.0.81687

06 Mar 10:00
9e2ac6a
Compare
Choose a tag to compare

This version mainly focuses on internal changes to ease users' configuration on Eclipse-based IDEs and also adds 17 new accessibility rules for HTML.

More details in the Sonar Community announcement and in the release notes.

Changes to the SonarLint for Eclipse extension points

This release features some (breaking) changes to the following extension points provided by SonarLint for Eclipse used by third parties to build their integrations on top of it:

Extension point Method Removed or added? Why?
org.sonarlint.eclipse.core.analysisConfigurator org.sonarlint.eclipse.core.analysis.IAnalysisConfiguratior#whitelistedPlugins() Removed Was long deprecated
org.sonarlint.eclipse.core.analysisConfigurator org.sonarlint.eclipse.core.analysis.IAnalysisConfiguratior#whitelistedLanguages() Removed Replaced by the one below
org.sonarlint.eclipse.core.analysisConfigurator org.sonarlint.eclipse.core.analysis.IAnalysisConfiguratior#enableLanguages() Added Replaces the one above
org.sonarlint.eclipse.core.languageProvider org.sonarlint.eclipse.core.analysis.IFileLanguageProvider#language(...) Removed Replaced by the one below
org.sonarlint.eclipse.core.languageProvider org.sonarlint.eclipse.core.analysis.IFileLanguageProvider#language(...) Added Replaces the one above

The changes went hand in hand with the refactoring of SonarLint and were therefore necessary. If you encounter your plug-in breaking or have any questions regarding these changes, then please reach out to us via the Community Forum directly!

9.3.0.81553

31 Jan 10:03
Compare
Choose a tag to compare

This version adds an automatic connected mode setup with SonarQube (10.4+), new secret detections and some new rules (including 5 Spring Boot rules for Java)

More details in the Sonar Community announcement and in the release notes.

9.2.0.81471

19 Dec 09:03
Compare
Choose a tag to compare

This version enables marking an issue as Accepted (requires connected mode with SonarQube 10.4 or SonarCloud)

For full release notes, see Jira.