Skip to content

Repository files navigation

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

DonateVersionInstallsRatings

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 #)
  • Rename Symbol — rename a function, procedure, method, class DATA member, local or parameter and have every occurrence updated (access it by pressing F2 on the symbol). Cross-file for workspace-wide symbols; correctly scoped to the current routine for locals/parameters and to the current file for module-static symbols.

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

About

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

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages