Autofix - Anypoint Studio
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
Enable Autofix
Go to
Window->Preferences->IZ Preferences, andSync Metadataif not done alreadyClick on
Enable Auto Fix
Auto Fix Issues
Go to
Window->Show View->other->IZ Analyzer-> selectOn the Fly ResultsPreviewandFixoptions will be available inOn the Fly Resultstable against applicable rulesUse the
Previewoption to view the list of changes that theFixwould perform. No files will be updated in preview modeUse the
Fixoption to apply the fix to applicable files
Auto Fix - Logs
Go to
Window->Show View->other->IZ Analyzer-> selectAuto Fix LogsAn audit log of the applied fix will be generated in the
target/izanalyzer/autofix-log.csvdirectoryHTML report of the same will be displayed in
Auto Fix Logsview
Details
SonarQube™ is a trademark belonging to SonarSource SA. For further information, please visit www.sonarqube.org.
Last updated
Was this helpful?

