SonarLint for VS Code 4.7 - Open SonarCloud issues in the IDE

Hello!

The new version 4.7 of SonarLint for VS Code, full of new functionalities, is out!

You’ll now be able to open any issue you’re investigating in SonarCloud into VS Code so that you can investigate it and fix it with all the help SonarLint provides (dataflow navigation, rule description, quick fixes) without having to locate the right file and line of code manually.

SonarLint will automatically open the correct file and bring the focus to the line of code containing the issue.

To benefit from this functionality, in addition to updating SonarLint to 4.7, you’ll need to:

  • Ensure the project and branch you have opened in the IDE correspond to the one containing the issue you’re reviewing in SonarCloud.
  • Use SonarLint in connected mode

Moreover, we simplified the authentication between SonarLint and SonarCloud by automatically generating a token with a single click.

With this version, we enable also users of SonarLint not using Connected Mode to apply the Clean as You Code methodology in the IDE. As you probably know, this methodology is an emblematic feature of Sonar, and we really believe it is the best approach to reaching the Clean Code state.

Note that your default New Code Definition will be the last 30 days. This means that any code changed or added within the last 30 days will be considered new code.

You can find the release notes here.

Important note: With this version we dropped the support for SonarQube < 9.9 LTA.

Thank you for your continued support!

Alexander

1 Like