FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour The simplest way to build from vscode
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
The simplest way to build from vscode
Posted: Sat Oct 01, 2022 08:11 AM

Just wondering what is the simplest way to build a PRG that you are editing

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: The simplest way to build from vscode
Posted: Sat Oct 01, 2022 08:34 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: The simplest way to build from vscode
Posted: Sun Oct 02, 2022 07:36 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: The simplest way to build from vscode
Posted: Wed Oct 12, 2022 03:51 PM
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

Continue the discussion