Seeking Guidance on Generating "AI Code Fix" Suggestions for Python and Go Projects

Hello,
We are exploring the “AI Code Fix” suggestions feature for our Python and Go projects. To test this functionality, we plan to intentionally introduce code changes that would trigger these AI-powered suggestions.

  • Are there specific patterns or code smells (e.g., security vulnerabilities, performance issues) that reliably trigger “AI Code Fix” suggestions in Python/Go?
  • Are there SonarQube settings (e.g., rule sets, quality profiles) we should adjust to optimize AI suggestion relevance?

Thank you in advance for your help!!

Version: Enterprise Edition v2025.1.1 (104738)

Hey there!

The rules supported for AI CodeFix are documented here. :slight_smile: