This version of the SonarQube Server documentation is no longer maintained. It relates to a version of SonarQube Server that is not active.

See latest version
Start Free
10.8 | Instance administration | System functions setup | Managing AI features

Managing AI features in your SonarQube instance

On this page

Enabling AI-generated fix suggestions

This feature is available in Early Access for all commercial editions of SonarQube Server.

As an instance administrator, you can enable or disable AI-generated fix suggestions on your projects. SonarQube Server uses OpenAI’s GPT-4 to generate the suggestions.

To enable AI-CodeFix, go to Administration > Configuration > General Settings > AI CodeFix > Enable AI-generated fix suggestions and select Enable AI CodeFix. Once AI CodeFix is enabled, select either All projects or choose projects individually from the list to activate the feature.

Note that if you choose Enable AI CodeFix on selected projects only, new projects will not be automatically enabled.

Once enabled, developers can get AI-generated fix suggestions from the Issues page in their projects. See Fixing issues for more details.

Disabling AI CodeFix

To disable AI CodeFix completely in SonarQube Server and hide the feature from all users, including Instance Admins, set sonar.ai.codefix.hidden=true in your sonar.properties file. 

Alternatively, you can send an email to with the subject “Disabling AI CodeFix” or contact Sonar Support via your usual communication channel. SonarSource will block your Server ID from having access to the AI CodeFix feature.

AI Code Assurance

SonarQube Server recognizes that AI-generated code should be monitored with additional quality standards and offers administrators a series of tools described on the Standards for AI-generated code page.


Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License