How can Gemini AI be used in conjunction with SonarQube to fetch code snippets with issues and provide fixes?

How can Gemini AI be used in conjunction with SonarQube to fetch code snippets with issues and provide fixes?

Does Gemini AI support automatic code quality fixes when code is sent via a POST API?

2 Likes

Hi @Nikhil_Verma,

Yes, you can totally use Gemini alongside SonarQube. Just pull the code issues from SonarQube and send them to Gemini (via API) with a prompt. Gemini can then suggest how to fix them.

It won’t auto-fix the code, but it’s super helpful when you give it the right context.