KRC ANTLR Validator
The plugin is used for bulk validation (syntax check) of a large number of KRC files.

Every file is checked with the same KRL parser that is used by the editor, so the result is identical with the check performed on a single file in the editor window.
Three things are verified in one pass:


If the fold structure of a file is broken, the KRL syntax of this file is not checked at all - the parser cannot reliably remove the fold content from the program text. Such a file is reported explicitly, so that it is not mistaken for a file without errors.

Checked files

The plugin can check:


Options


Report

The findings are not shown in a message window - a scan of a whole robot archive produces far more lines than a dialog can display.
They are written to an HTML report: the file name, the line number and the message for every finding. At the end of the run a short summary is shown - how many files were checked, how many errors and - if collected - how many warnings were found, and the report can be saved from there.

The line numbers refer to the real line in the file, also for programs with folds.

The syntax check is started by the plugin itself, so it does not depend on the option Check programm syntax on file load in the KRC configuration panel.

All options are stored and restored the next time the plugin is started.