First time here? Check out the FAQ!
2

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?

Chris Curvey's avatar
246
Chris Curvey
asked 2021-08-28 09:57:57 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2022-05-05 09:34:55 -0500
edit flag offensive 0 remove flag close merge delete

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.

Wingware Support's avatar Wingware Support (2021-08-30 12:58:32 -0500) edit

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.

Chris Curvey's avatar Chris Curvey (2021-08-31 12:20:17 -0500) edit

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?

Wingware Support's avatar Wingware Support (2021-09-02 09:29:30 -0500) edit

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

Chris Curvey's avatar Chris Curvey (2021-09-05 10:44:54 -0500) edit

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.

Wingware Support's avatar Wingware Support (2021-09-06 08:00:00 -0500) edit
add a comment see more comments

1 Answer

0

This should be fixed in 8.3.0.2+

Wingware Support's avatar
4.1k
Wingware Support
answered 2022-05-05 09:34:40 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer