/harbourCodeExtension

Antonino Perricone's extension for visual studio code about Harbour and xHarbour programming languages

Primary LanguageJavaScript

Antonino Perricone's extension for visual studio code about Harbour and xHarbour programming languages

Donate Version Installs Ratings

do you like this extension? Help me to make it better with a donation, click the first button.

Features

Documentation links

See the wiki for more information. An introdution for harbour developers can be found in these articles:

Requirements

Sometime is necessary to set harbour.compilerExecutable with complete path.

Extension Settings

This extension contributes the following settings:

  • harbour.validating: enable/disable the validation every open and save of harbour files.
  • harbour.compilerExecutable: sometime is necessary to set the path of the harbour executable to make validation works.
  • harbour.extraIncludePaths: add path where found the includes to avoid "file not found" error.
  • harbour.extraOptions: other options to pass to harbour compiler.
  • harbour.warningLevel: sets the warning level for validation.
  • harbour.decorator: if true enables the feature of decoration of correspondents if/endif, for/next, while/endwhile, etc etc

How to use the debugger

You can use the command "Harbour: Get debugger code" to get the source of the debbugger, save it to a file naming it as you like, for example dbg_lib-prg. You can include this file in your project or BETTER create a library with this file to link in your project.

NOTE: don't forget to compile harbour file with debug information -b

IT IS STRONGLY RECOMMENDED TO UPDATE THE FILES EVERY EXTENSION VERSION

Known Issues