Skip to content

Diagnostics Lint

Antonino Perricone edited this page Dec 15, 2018 · 2 revisions

Every time a file is opened or saved it will be validated by harbour:

Validate example

It does not work! How fix it

If it does not work, probably it is because the extension does not find the harbour executable, you can specify it in in settings harbour.compilerExecutable:

validating setup

other settings are:

  • harbour.extraIncludePaths to add searching path and does not stop the validation on "file not found" for include file.
  • harbour.extraOptions to add other options to harbour.exe, for example -DYOURDEFINE

How it works

The extension works running harbour.exe the the options: -s (syntax check only), -m (compile module only) and -n0 (no implicit starting procedure).

Clone this wiki locally