Antonino Perricone's extension for visual studio code about Harbour and xHarbour programming languages
do you like this extension? Help me to make it better with a donation, click the first button.
- 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 #)
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)
Sometime is necessary to set harbour.compilerExecutable
with complete path.
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
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