Anypoint Studio - Autofix
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 IZ Scan - Anypoint Studio Studio Plugin
Configured the plugin with the appropriate connection type, Service URL, and Access Token.
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 Scan -> 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 Scan -> 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

Last updated
Was this helpful?
Was this helpful?

