Hello VSCode users,
As many of you use SonarQube or SonarCloud to analyze your projects, the SonarLint team at SonarSource is working to improve the integration between the products, so that it will be easier for you to deliver high-quality and safe code from the start - while coding in your IDE! As you know, when you use SonarLint in combination with SonarQube or SonarCloud, then the quality profile, issues status and analysis settings for your project will be applied in SonarLint, so that you can focus on your code and do not need to worry about configuration.
One of our ambitions is to make this synchronization mechanism work without your intervention, and to reflect any changes in near real-time in your IDE, meaning that for example, when a rule is deactivated by a project admin in your SonarQube quality profile, all related issues stop immediately being reported in the IDE; this way all project contributors can focus on relevant issues only.
If you have followed the recent releases of SonarLint for IntelliJ and for Eclipse, then you already know that we’ve made a first step working on quality profiles synchronization; any changes made in SonarQube are now applied in your IDE automatically when you open a project, or every hour (FYI, before this release, you received a notification after a longer delay, that you had to manually action in order to trigger the update).
I’am happy to share that the above is now also available to our VSCode users! And in the near future, the synchronization will happen in real-time.
Let me also mention some of the new features and improvements we have carried out in the different analyzers we support, and that we released in this version:
- For our Java users, we’ve added the support for scanning Java 17 code , and we’ve improved the accuracy of our nullability rules .
- You’ll find plenty of new rules to help you deliver efficient, error-free and safe regular expressions in Python
- SonarLint is now able to parse PHP 8.1 and Python 3.10 code, including structural pattern matching syntax
- We’ve added support for XML analysis; you can find the list of supported XML rules here .
Here is the link to the release notes if you like to learn more.
As usual, we’d be happy to hear your feedback for this new version on this Community forum, and on the feature ideas we are currently considering to add in our roadmap page.