Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can GoFish integrate into VFP IDE like Code References?
Message
 
 
À
30/11/2011 10:42:04
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Divers
Thread ID:
01529993
Message ID:
01530026
Vues:
54
It would be useful to me to know they are in the same PRG/SCX/whatever. Obviously I would have to look at the search results and determine whether the particular module "really" contains a match. It might, even if the two strings are not in the same line or even the same procedure. For example, one proc opens the table and gives it a generic alias name, then another procedure deletes records.

It's nice getting it straight from the horse's mouth. I imagine you are hopping with the latest release in beta. Best regards.....

>You can do this with a post-search filter...
>
>First, search for just one word: "delete"
>
>that will give you ALL the matches that have DELETE in the line.
>
>Then, use the FILTER button and add "sam" as a "Matched Line" filter.
>
>Please let me know if this accomplishes what you want.
>
>
>================================================================================
>***UPDATE***
>================================================================================
>
>OOPS - Now that I've gone back and re-read your question and the replies, I see that you are trying to search for multiple words across multiple lines. Ouch - that's gonna be tough, and certainly my initial comment above is not helpful.
>
>The reason that this would be very difficult, is, image a long PRG or CLASS with lots of procedures definitions...If you allow the search to simply "span multiple lines", then, heck, you could wind up finding matches where one match word was found in one PROC and the other match word was found in another PROC, and that would not be what you really want.
>
>So, there still has to be "boundaries" that limit where the matches must fall in order to make the results meaningful. Like between "PROC / ENDPROC" or "FUNC/ENDFUNC"
>
>Like anything, all this is indeed possible, but, wow, a lot of work!
>
>
>
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform