SonarLint for IntelliJ 6.1 - Bind individual modules to SQ/SC, C++ 20 rules, regexp rules

Hello,

if you use IntelliJ IDEA to develop, you probably know that you can import different Java projects in your IDE, by adding them as modules in your IDEA window; this is typically the case when you want to work to develop on several components of the same application. A similar setup is possible for other IntelliJ-based IDEs, like WebStorm, PHPStorm and RubyMine to mention a few.
If you also use SonarQube or SonarCloud in your development environment, each one of those projects is analyzed separately, and you can define a different quality profiles or different analysis settings to each of them.
The problem that some of you reported was that SonarLint could only bind to one SonarQube or SonarCloud project at a time in your IDEA window, so it wasn’t possible to your to reflect the correct quality profile and configuration to each one of your modules in the IDE.

Thanks to your feedback (really, thanks :pray:, your feedback is a valuable :gift: to us), we’ve decided to work on supporting module-level binding for your IntelliJ projects - and we’ve just shipped it in this new release.
From now, you’ll be able to bind each individual module in your IDE to the correct SonarQube or SonarCloud project:

You can read more about this feature in our Wiki page

I’d like to mention as well that in this release we have added plenty of new rules:

  • Rules to avoid pitfalls when using various new features of C++20 including std::string_view , std::bit_cast , <=> and [[no_discard]] .
  • Rules to to help you write efficient, error-free and safe regular expressions in JavaScript , TypeScript (read more here ) and PHP (read more here).

As usual, you can find more details in our release notes