Text Search doesn't not perform how I expect it to.

  • Thread starter Thread starter D J
  • Start date Start date
D

D J

The problem:

I wanted to find a text string "TYPE SAFE" in some source
code (text files with a different file extension). There
are a large number of files to search through.

What I did:

So I opened the search side panel and in
"Search for Files and folders named:" I typed *.java,
* being a wildcard
in
"Containg text:" I typed TYPE SAFE (and indeed variations
simplier and more complex).

What happened :

On the occassion of typing TYPE SAFE no files appeared in
the results. Which I find odd, because using a different
search function (Netbeans IDE search function), I could
find the file containing the text (So the text does
exist).

Using just "type" as a string brought up one file (So
Windows does search through the .java files).

I know of no published specifications for the search
function, so aside from my using it incorrectly the only
conclusion I can make is that it doesn't work properly!

Any got any ideas? (Do you need to quote the string if
there's a space in it, or escape the space?)

cheers
 
The built-in Windows search utility "filters" results in the hopes that it return "relavent" results but in the case of us developers (even .ASP developers), the search can completely skip program files. There have been articles that discuss how to "get around" these deficiencies but the best method for avoiding problems is by fixing problems. In this case, Windows Search does not work for you (or me) so replace it with a search utility that will

For development searches, I use a free utility called X-Find by Xteq Systems: http://www.xteq.com/downloads/#xfn

Best Regards
Lo

----- D J wrote: ----

The problem:

I wanted to find a text string "TYPE SAFE" in some source
code (text files with a different file extension). There
are a large number of files to search through.

What I did:

So I opened the search side panel and i
"Search for Files and folders named:" I typed *.java
* being a wildcard
in
"Containg text:" I typed TYPE SAFE (and indeed variations
simplier and more complex)

What happened

On the occassion of typing TYPE SAFE no files appeared in
the results. Which I find odd, because using a different
search function (Netbeans IDE search function), I could
find the file containing the text (So the text does
exist).

Using just "type" as a string brought up one file (So
Windows does search through the .java files).

I know of no published specifications for the search
function, so aside from my using it incorrectly the only
conclusion I can make is that it doesn't work properly

Any got any ideas? (Do you need to quote the string if
there's a space in it, or escape the space?

cheer
 
Back
Top