Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Harbour and xHarbourNew to Visual Studio Code? Get it now.
Harbour and xHarbour

Harbour and xHarbour

Antonino Perricone

|
20,746 installs
| (10) | Free
Harbour and xHarbour languages support for visual studio code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • syntax hightlight, with Edgard Lorraine Messias
  • Debug support
  • Diagnostic infos
  • Symbol Definitions Within a Document provider (access it by pressing CTRL+SHIFT+O or CTRL+P then @)
  • Symbol Definitions in workspace provider (access it by pressing CTRL+T or CTRL+P then #)

Documentation links

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

  • Harbour Wiki - Developing and Debugging Harbour Programs with VSCODE by Eric Lendvai
  • Harbour magazine - Visual Studio Code for Harbour by José Luis Sánchez (available in spanish too)

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft