Skip to content

Releases: SonarSource/sonarlint-eclipse

10.9.1.82333

08 Nov 08:51
Compare
Choose a tag to compare

For full release notes, see Jira.

10.9.0.82319

06 Nov 08:51
Compare
Choose a tag to compare

For full release notes, see Jira.

10.8.0.82289

07 Oct 12:54
Compare
Choose a tag to compare

For full release notes, see Jira.

10.7.0.82276

01 Oct 07:43
Compare
Choose a tag to compare

For full release notes, see Jira.

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!