SonarLint for IntelliJ 4.15 released - C and C++ support for CLion

Hello C and C++ developers,

We are excited to announce this new version of SonarLint for the IntelliJ family of IDEs, that brings C and C++ support for CLion.

If you already used SonarLint in any other IntelliJ IDE (IDEA, Android Studio, AppCode, DataGrip, PhpStorm, PyCharm, RubyMine, WebStorm) to improve the quality and security of the code you write in Java, JavaScript, Python, PHP (or any other of the 11 languages supported), you can now enjoy the same experience in CLion for your C and C++ projects.

And if you never used SonarLint before, check out how easy it is write better and safer code: just install the plugin, open any code file, start writing code and SonarLint will immediately detect and squiggle any bug, code smell, security issues:

Sonarlint will not only detect issues: our accurate rule descriptions will help you understand what is at stake and guide you to fix your issues with examples. In other words you will be able to fix your issues before they are even committed to your repository. For instance, you can have a look at our 500+ types of C++ detections here.

And as usual with SonarLint, if your project is analyzed with SonarQube or SonarCloud, you can benefit from the same ruleset and project configuration as the other contributors thanks to the connected mode.

For C and C++ projects in CLion, we support the two most widely used compilers: GCC and CLang.

Finally, if you prefer using Visual Studio for your C and C++ projects, we’ve got you covered too: SonarLint C and C++ analysis is also available for Visual Studio.

This release is not only good news for C and C++ developers! Here are the other highlights of version 4.15:

  • We added support for TypeScript 4.1 and 4.2
  • We introduced issues streaming: this means whenever the analysis of your file takes time to complete, we start to display issues as soon as they are detected, without waiting for the end of the analysis. This is particularly useful during the analysis of large Java, C and C++ projects
  • We added new security rules for Java and Python code
  • SonarLint now requires you to run at least the 2019.3 version of your JetBrains IDE.

You can read more in the release notes.

We sincerely hope you will enjoy this new version of SonarLint. We are eager to hear your feedback! Also, here are a few quick links to get in touch with us in this forum:

8 Likes