Auto Fix - Issues
Autofix is a feature, where static code analysis issues can be fixed automatically with the click of a button.
|
Make sure you have:
|
Auto Fix Issues
-
Navigate to
Falcon Scantab in the panel or useCtrl+Shift+P(Cmd+Shift+P on macOS) and search forFalcon Scan: Fly Resultsto open the view
-
PreviewandFixoptions will be available inOn the Fly Resultstable against applicable rules -
Use 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
Auto Fix - Logs
-
Use
Ctrl+Shift+P(Cmd+Shift+P on macOS) and search for>Falcon Scan: Auto Fix Logsto open the view -
An audit log of the applied fix will be generated in the
target/izanalyzer/autofix-log.csvdirectory -
HTML report of the same will be displayed in
Auto Fix Logsview