Autofix - Anypoint Studio
Last updated
Was this helpful?
Autofix is a feature where static code analysis issues can be fixed automatically with the click of a button.
Make sure you have:
Installed the latest version of Anypoint Studio / WSO2 Integration Studio Plugin
Configured the Business Group/Organization associated with the issued license.
Valid license with Auto Fix module enabled
Go to Window -> Preferences -> IZ Preferences, and Sync Metadata if not done already
Click on Enable Auto Fix
Go to Window -> Show View -> other -> IZ Analyzer -> select On the Fly Results
Preview and Fix options will be available in On the Fly Results table against applicable rules
Use the Preview option to view the list of changes that the Fix would perform. No files will be updated in preview mode
Use the Fix option to apply the fix to applicable files

Go to Window -> Show View -> other -> IZ Analyzer -> select Auto Fix Logs
An audit log of the applied fix will be generated in the target/izanalyzer/autofix-log.csv directory
HTML report of the same will be displayed in Auto Fix Logs view

SonarQube™ is a trademark belonging to SonarSource SA. For further information, please visit www.sonarqube.org.
Last updated
Was this helpful?
Was this helpful?

