Incremental Linting
When using Verissimo in DVT, you can automate it so it runs on the fly as you work on your project. After each code modification, all your linting checks will run automatically, making it easier for you to check your code is not just syntactically or semantically correct, but also compliant with your coding guidelines enforced by your Verissimo rules.
The Incremental Linting is enabled by specifying the following directives in the build configuration file of your project:
+dvt_verissimo_lint_on+FULL_BUILD+INCREMENTAL_BUILD
This flags specifies if the linting should run after a full build of your project or/and after an incremental build. Linting after an incremental build will be done only on the modified files.
+dvt_verissimo_ruleset+/path/to/verissimo_ruleset.xml
This flag specifies which ruleset file should be used for the linting.
+dvt_verissimo_waivers+/path/to/verissimo_waivers.xml
This flag specifies which waiver file should be used for linting; it’s optional, you can skip it if you don’t want to use a waivers file.
The Verissimo results are seemingly integrated in DVT, along with the other compilation related issues, in the Problems view and in the editor. Just like running Verissimo for a single file, the GUI report is not generated in this case as well.