Anypoint Studio - Autofix
Autofix is a feature where static code analysis issues can be fixed automatically with the click of a button.
Enable Autofix
Go to
Window->Preferences->IZ Preferences, andSync Metadataif not done alreadyClick on
Enable Auto Fix
Autofix Issues
Go to
Window->Show View->other->IZ Scan-> 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 mode.
Use the
Fixoption to apply the fix to applicable files
Autofix - Logs
Go to
Window->Show View->other->IZ Scan-> 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
See Also
Last updated
Was this helpful?

