Search code examples
version-controlperforceconfiguration-managementperforce-client-spec

searching in Perforce Visual Client


I am new in perforce Visual Client and I am not able to figure out a very basic utility. I want to search my workspace for files which contain some specific words. I found out that at Edit --> Find in File ---> there are two options Search in: and All or part of the file name:. But where do I set the filter that I only want to search files which contain specific words? I think the Perforce Visual Client should have this basic utility somewhere but maybe I'm missing it. Kindly help me to find this option. Your help greatly appreciated.


Solution

  • Perforce visual client do not contain tool for searching files with specific content. You can use command line:

    p4 grep -e compile_settings //Jam/MAIN/src/... 
    

    check http://www.perforce.com/blog/100712/p4-grep