Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ProjectExplorer + Scctextx
Message
From
19/11/2020 15:35:27
 
 
To
19/11/2020 14:57:11
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01677264
Message ID:
01677266
Views:
75
Hi Mike.

>ProjectExplorer looks pretty good. I'm stuck in a transition phase from an inherited VFP6 to 9. We have to stay in 6 for now. I'd like to get rid of VSS though. FoxBin2Prg does not seem to work with VFP6 menus. I made SccTextX work with them. How would I go about getting ProjectExplorer to use SccTextX?

ProjectExplorerSettings.xml lists the text converter class used. It currently contains:

textconverter name="FoxBin2PRG" class="BinaryToTextConversionFoxBin2PRG" library="ProjectExplorerEngine.vcx" path="{execscript(_screen.cThorDispatcher, 'Thor_Proc_GetFoxBin2PrgFolder')}"

Change that to specify a new class you'll create to support SCCTextX. The "path" element is the path to SCCTextX.prg. The class will be a subclass of BinaryToTextConversion in ProjectExplorerEngine.vcx. Take a look at BinaryToTextConversionFoxBin2PRG as an example.

>Hg seems to know instantly that a file was changed in VFP6. Are you planning to have it sync in realtime with the OS? Is that something I can do for the project?

Project Explorer handles that automatically: when you edit a class, menu, report, etc., as soon as you close the editor, Project Explorer uses the specified text converter class to generate the text equivalent of the binary file.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform