Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can GoFish integrate into VFP IDE like Code References?
Message
De
30/11/2011 09:16:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Divers
Thread ID:
01529993
Message ID:
01530010
Vues:
72
Mike --

GoFish 4 is a very active project in VFPx. It is managed by Matt Slay.

There are constant updates and revisions to it -- the most recent is dated Nov. 21, just over a week ago.

I suggest you visit the home page on VFPx for it: http://vfpx.codeplex.com/wikipage?title=GoFish

Even though I am the project manager for Code References in VFPx, I use GoFish instead. I recommend it highly.

While it does not handle the problem you are posing, it is much faster than Code References and provides a lot of neat features for making replacements (without the danger to your code as is known about Code References.)




>You're no fun ;-) Actually I suspect you're right, because so far I have not been able to get regular expressions to do what I want in Code References.
>
>Has anyone here done anything with GoFish? Obviously Matt Slay has but I haven't seen him around much lately.
>
>>I do not think using regular expressions here will give Mike what he is looking for.
>>
>>Regular Expressions in Code References search on each line independently, not the entire method/program all at once.
>>
>>The expression \bdelete\b.+\bsam\b will only find lines that have delete followed by sam on the same line,
>>
>>I, too, have wanted to be able to looked for modules, rather than lines of code, such as have been requested here, but have never seen anything that would do so.
>>
>>
>>
>>>>The title is my question. I downloaded GoFish (latest beta) and took a cursory look at the info about it. I saw examples of calling it from code but didn't notice anything about using it as part of the IDE. The reason I am interested in doing that is I would like to do something that doesn't seem possible in Code References (which I like a lot and use routinely).
>>>>
>>>>The something is finding modules which contain both of two search strings. This afternoon I was looking for modules which contain "Delete" and the name of a table, let's call it Sam. I tried this in the Search box:
>>>>
>>>>delete + sam
>>>>
>>>>It found nothing, which I believe is because it was looking for the concatenated 12 character string.
>>>>
>>>>As you can see, my question isn't really about GoFish (although all comments about it are welcome). I just want to search for modules containing, anywhere in them, both of two expressions. Any tool that can do that would be great.
>>>>
>>>>TIA for any guidance.
>>>
>>>
>>>Code references lets you
>>>
>>>Check 'Use regular expressions' and search for
>>>
>>>delete.+sam
>>>
>>>
>>>or if you want both words to match entirely
>>>
>>>\bdelete\b.+\bsam\b
>>>
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform