Dear Eclipse users,
I’m happy to announce the new version 10.5 of SonarLint for Eclipse!
We saw that some of you do not update to the latest version of SonarLint after launch. We really encourage you to install new versions of SonarLint to have the best experience and the latest features available.
You will now be able to have more information about SonarLint new versions directly from the IDE. First we are now sending in-IDE notifications when a new version is available. Then in the Eclipse Welcome tab, in the overview section, we added direct links to the SonarLint release notes and to our Community forum. And in the Tutorials section we added some links to our documentation.
Running SonarLint for Eclipse in Connected Mode, you’ll be able to detect 6 advanced issues that can cause your Java programs to crash. Those rules were already available in SonarQube and SonarCloud branch and pull request analysis; you can now benefit from those detections directly in the IDE, meaning that you’ll be able to remediate those problems before sending a pull request, and even before running your unit tests. Here is the list of rules:
- S6466: Accessing an array element should not trigger a ArrayIndexOutOfBoundsException
- S6416: Calls to methods should not trigger an exception
- S6320: Cast operations should not trigger a ClassCastException
- S6417: Collections should not be modified while they are iterated
- S2190: Recursion should not be infinite
- S6322: Unsupported methods should not be called on some collection implementations
To benefit from this Java advanced issues detection, you need to run SonarLint in Connected Mode with the latest version available in SonarCloud and SonarQube (v10.6).
We also improved our secret detection capabilities by detecting now 146 secret patterns of 81 cloud services.
You can find the release notes here.
Enjoy
Alexander