Lint current file

To run Verissimo for a single file, open the Lint Configuration dialog and select Lint the current file from the Linting mode dropdown menu. If you want to use the same Lint Configuration for both project level as well as file level linting, you can either select the Always ask, to specify for each launch what linting mode to use, or Detect from selection, to detect the mode automatically from the current selection. In this mode, if you have the focus on the editor it will lint that file, if you have the selection in the Project Explorer on the project it will lint the entire project.

In this mode, Verissimo will define a pre-waiver that will match all the other files and will run with it, in this way only the selected file will be analyzed and the other files from the project will be ignored. When running in this mode Verissimo does not need to perform a full build of the project, instead it does an incremental compilation of the selected file.

When linting only the currently selected file the Verissimo GUI report will not be generated, however the linting failures will be added to the Problems View and the markers for the file will be added in the editor.

The same features of Verissimo are available in this mode, such as reapplying the checks, from either the Lint configuration or from the Problems View, waiving a failure or autofixing from the editor Quick Fix shortcut.

To clear the linting failures from a file, trigger the Clear Current File Results action from either the Problems View or the Verissimo toolbar menu.