search in selected -> 0 matches in 0 files
I'm having a recurring problem with Wing across lots of versions (since v6) and lots of projects. (And on lots of different computers).
I go into the Project tool, right click on a directory, and choose "Search In Selected". Then I will search for a string.
But sometimes the string (which I know exists) will not be found. And if I look at the top of the search-in-files tool, it will say "Found 0 matches in 0 files".
If I go back to the Project tool and choose the parent directory of where I was searching...voila, it finds everything I was looking for.
Am I the only one having this problem?
Comments
This seems to be working for me in Wing 8.0.2.1 - or at least it's setting up the Search in Files tool correctly both for a single file or a directory. Are there any failures going into Wing's error log (the ide.log file in the settings directory listed in Wing's About box)? Submitting a bug report may also help, if you include the error log where prompted.
Yeah, it's not consistent. 80% of the time it works fine. And when it doesn't work, changing the search location seems to "kick" it back into compliance. I can't figure out why I get this on nearly every project that I work on (different projects, different python versions, different computers), but I seem to be the only person on the planet that gets the issue.
Yes, I know this has been an issue for you for years (if I'm remembering correctly). One thought: Is this local disk or for files/dirs on a remote host? Also, when it fails it is possible a space has been typed into the search location or something like that?
I don't think so -- I count on the "search in location" selection to set the "Look In:" value. I guess the only other thing that is set is the "Filter", which is set to "Python File" 98% of the time, "All Source Files" about 1% and some other file type for the remaining 1%. It is generally NOT set to "All Files" as that starts giving me hits in the .git directory
OK, thanks. All Files really means all files. All Source Files will omit things in .git/etc.
Also would still be useful to know if it's locally stored files or remote files via Wing Pro's remote dev feature.