Continuous Inspection

SonarLint for IntelliJ 2.0 Released

SonarSource is pleased to announce the release of SonarLint for IntelliJ version 2.0.

SonarLint for IntelliJ 1.x series has been focused on giving instantaneous feedback on files opened and modified in the editor, as well as making sure that the most recent issues are the most visible ones (what we call the “Leak”) thanks the SonarLint Window. But with those versions, this is not possible to select which rules to execute on the code, nor to analyse files that are not Java, JavaScript or PHP code. What’s more, for developers already using SonarQube to continuously inspect their code, this is not possible to make sure that what they will get on the SonarQube server is exactly what they have in SonarLint.

SonarLint for IntelliJ 2.0 provides the new connected mode that meets all those needs. With this version, you can now establish a connection to a SonarQube server (version greater than 5.2) :

SQ_server_conf

Then, you can bind your IntelliJ project with the corresponding one on the SonarQube server:

project_binding

And that’s all! Once a project is bound to a SonarQube server, SonarLint will automatically use the right set of rules defined in the quality profile configured for this project on SonarQube.

Note that this connected mode currently does not support commercial plugins – but this will come soon.

Moreover, by embedding the latest version of the Java, JavaScript and PHP SonarAnalyzers, this 2.0 version provides and activate by default the following new rules when using the standalone mode:

JavaScript Rules

Java Rules

For more information, have a look to the release note or visit the dedicated SonarLint for IntelliJ web site.

Have fun with SonarLint !