AI Assistant Auto-correct Failure

A quick and easy way to fix Verissimo failures is using the AI Assistant.

Place the editor cursor on the failure line (signaled by the marker) and press Ctrl+1, select Fix … failure using DVT AI Assistant from the list of proposals and press Enter.

../../_images/autocorrect-verissimo-quick-fix.png

You can also fix failures directly from the Verissimo GUI report in DVT by right clicking a failure and select Fix Failures using DVT AI Assistant from the list.

../../_images/autocorrect-verissimo-report.png

Or select multiple failures holding Ctrl and then right click on one of them.

../../_images/autocorrect-verissimo-report-multiple.png

Or right click a check to fix all the failures from that check.

../../_images/autocorrect-verissimo-report-check.png

The fix proposal will show up in a pop-up dialog.

For VSCode, place the editor cursor on the failure line (signaled by the marker) and press Ctrl+., then select Fix … failure using DVT AI Assistant from the list of proposals and press Enter.

../../_images/autocorrect-verissimo-vscode.png

Note

  • To customize the Verissimo Auto-correct prompt, run the DVT AI: Create New Verissimo Auto-correct Blueprint command and modify the generated blueprint. The newly added blueprints will be accesible from within the proposals list alongside the builtin one.