SonarLint for Visual Studio 8.5 - Open AI fix suggestion in the IDE

Hello Visual Studio community,

The SonarLint version 8.5 of Visual Studio is out! :sonarlint:

We recently introduced AI CodeFix on SonarCloud and SonarQube which helps developers to remediate Sonar issues by generating a fix suggestion thanks to AI technology. It is available in Free Early access for SonarCloud Team and Enterprise plans and SonarQube Enterprise Edition.

To have the best developer experience, we added the possibility of opening the suggestion in the IDE with SonarLint to test and run it locally.

In the IDE, you will get code changes directly applied from the generated fix in SonarQube or SonarCloud.

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

  • Ensure the project and branch you have opened in the IDE correspond to the one containing the issue you’re generating a suggestion for in SonarCloud or SonarQube.
  • Use SonarLint in connected mode

You can find the release notes here.

Thank you for your continued support!

Farah

1 Like