dreaming of vfp and vscode integration

2022-10-25 Thread Jeff Roberts
This morning I've been doing some refactoring (I use that term loosely) and listening to some guys talk in one of the rooms at Virtual Fox Fest. I'm splitting long lines and cleaning up comments, etc in vscode then switching over to VFP (Version 6 still I am ashamed to say) and compiling the prg to

RE: dreaming of vfp and vscode integration

2022-10-25 Thread Tracy Pearson
There are two ways to make that happen from what I recall. You can automate VFP with COM. You can use a config.fpw and launch VFP with the -C "path\config.fpw" The config.fpw needs to have a COMMAND for what you want to do. It could be the COMPILE command or a PRG you want to run. I have used bo

Re: dreaming of vfp and vscode integration

2022-10-25 Thread Alan Bourke
Jeff I had a play around with this last year. It involved creating a VS Code build task, which in turn ran a VBScript (.vbs) script. The script took the .PRG filename as an argument and created a VFP COM object, then told that to compile the .PRG. Given the above and the Visual FoxPro syntax

Re: dreaming of vfp and vscode integration

2022-10-25 Thread Eric Selje
Hi Jeff, Did you check out Joel Leach's DevOps session? It's not exactly on this topic but he incorporated external builds into his DevOps and that part might be useful. Eric On Tue, Oct 25, 2022 at 9:16 AM Jeff Roberts wrote: