The simplest way to build from vscode
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 76 times
- Contact:
The simplest way to build from vscode
Just wondering what is the simplest way to build a PRG that you are editing
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 76 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 76 times
- Contact:
Re: The simplest way to build from vscode
From some versions are present 2 custom task types, Harbour that starts the configured harbour executable, I use it to see the cpp and the hrb generated
And HBMK2 that calls the HBMK2 on the same folder of configured harbour. The goods of this task type is: if you configure a setupBatch it is called only the first time with a little time saving, if you enable debug symbols (using "debugSymbols": true) it uses the code from the extension in this way it is always the latest.
For an example of it see https://github.com/APerricone/harbourCodeExtension/blob/f3b2fd9c6840274fefa71437bc725897bcc1e1b9/test/.vscode/tasks.json#L26
And HBMK2 that calls the HBMK2 on the same folder of configured harbour. The goods of this task type is: if you configure a setupBatch it is called only the first time with a little time saving, if you enable debug symbols (using "debugSymbols": true) it uses the code from the extension in this way it is always the latest.
For an example of it see https://github.com/APerricone/harbourCodeExtension/blob/f3b2fd9c6840274fefa71437bc725897bcc1e1b9/test/.vscode/tasks.json#L26