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 Scan
tab in the panel or useCtrl+Shift+P
(Cmd+Shift+P on macOS) and search forFalcon Scan: Fly Results
to open the view -
Preview
andFix
options will be available inOn the Fly Results
table against applicable rules -
Use the
Preview
option to view the list of changes that theFix
would perform. No files will be updated in preview mode -
Use the
Fix
option 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 Logs
to open the view -
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