Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GoFish pulls up wrong PJX
Message
 
To
05/08/2023 11:49:40
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01686868
Message ID:
01686917
Views:
43
>>>>>>I'm always working on several VFP projects at once. They are all the same code, but different branches.
>>>>>>
>>>>>>So, I'm in VFP and I'm in the correct folder and I've opened the correct PJX and then I launch GoFish and for the 'Scope' it usually pulls up the last PJX I was in and not the ActiveProject which is what I want.
>>>>>>
>>>>>>So, there I am GoFishing on the wrong code and even opening the wrong code and making changes to it. Usually, at some point I realize I'm in the wrong project, but this is just plain frustrating.
>>>>>>
>>>>>>Is this a bug in GoFish or is there a setting I'm missing?
>>>>>
>>>>>It should work as explained by Tamar.
>>>>>If you have your code in different branches with different FOXUSERS, there is an option to use a different GoFish for each of you branches (iow different foxuser.dbf), buried in Advanced options, you must activate "Allow Code References like work" first, restart GF, activate "Local Settings", restart GF.
>>>>>
>>>>>If you couldn't solve the problem, please create an issue at https://github.com/VFPX/GoFish/issues
>>>>
>>>>Yeah, but I'm using just one FoxUser for all my VFP instances. But, thanks. I'll check it out.
>>>
>>>I created the "Local Settings" because otherwise it would be havoc with the way I work - and storing "local" to the foxuser was the cheap way. I use a special fpw for each project and load the foxuser by this. (calling VFP by clicking the fpw). CR seems just to store next to the active foxuser.
>>>
>>>If you need a different way, one needs to know what defines "local"
>>
>>Yeah, I've got a custom startup that lets me pick which folder VFP will open in. It remembers the last one. Changing it to use a separate FoxUser would be interesting. I'd have to store and retrieve the foxuser from a folder other than the PJX folder since it's a Git folder.
>
>I have a simple fpw per project that picks the foxuser - and starts a custom program to load additional stuff like Thor. Just some registry stuff for the fpw, from the 90s. :)
>And the fpws are linked on desktop / keyboard crap and the like to run (main projects) with some key strokes.
>My foxusers are in the gited project folders, but excluded from git. Keeps the project into one structure.
>
>Off topic:
>If you work on parallel git branches, are you familiar with git worktree?

I'll check out git worktree. Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform