Home Download Buy Blog Forum Support

[BUG] Find in Files won't search all files

[BUG] Find in Files won't search all files

Postby CharlesJenkins on Mon Jul 30, 2012 4:32 pm

My project includes several file types. When I ask sublime to search all files for a plain old string, given the following list of patterns in the Where box--

*.inp,*.h,*.hin,*.hpp,*.c,*.cin,*.cpp

--it will find the string anywhere except in a *.inp file. It doesn't matter whether *.inp appears at the beginning or end of the list. The file exists in my directory and it's in my project's file_include_pattern, so it appears in the Project side bar and I can open it and search to verify that the string I'm looking for is actually in the file. But nothing I've tried will make it show up when I use Find in Files.
CharlesJenkins
 
Posts: 10
Joined: Mon Jul 30, 2012 4:27 pm

Re: [BUG] Find in Files won't search all files

Postby CharlesJenkins on Mon Aug 13, 2012 9:57 pm

Any suggested fixes for this?
CharlesJenkins
 
Posts: 10
Joined: Mon Jul 30, 2012 4:27 pm

Re: [BUG] Find in Files won't search all files

Postby eslreg on Thu Aug 16, 2012 9:00 pm

same thins :(
search in file ignore .asm files
even if i add ,*.asm in 'Where' field

anyone can help ?

p.s. 2.0.1 2217
eslreg
 
Posts: 3
Joined: Thu Aug 16, 2012 8:56 pm

Re: [BUG] Find in Files won't search all files

Postby eslreg on Fri Aug 17, 2012 2:29 pm

Find result show correct count of files
"Searching 36 files for "L585E" "
but not found anything :(

------
looks like i found trouble

my files contains some symbols
when file opened in sublime - they looks like inverse <can> and <em> (or like up/down arrow in text mode)
when i remove this chars - search works ....
eslreg
 
Posts: 3
Joined: Thu Aug 16, 2012 8:56 pm

Re: [BUG] Find in Files won't search all files

Postby CharlesJenkins on Sat Aug 18, 2012 9:49 am

Interesting. I wonder if Sublime is mis-identifying files that contain even a single non-ASCII character. I bet that a funny character inside a string literal makes Sublime think the file is binary, and it skips the file -- despite the fact that you include it in the search patterns.

Does the developer read this board?
CharlesJenkins
 
Posts: 10
Joined: Mon Jul 30, 2012 4:27 pm

Re: [BUG] Find in Files won't search all files

Postby eslreg on Mon Aug 20, 2012 2:02 pm

is it you problem with inp files ?

>Does the developer read this board?
looks like not ...
eslreg
 
Posts: 3
Joined: Thu Aug 16, 2012 8:56 pm

Re: [BUG] Find in Files won't search all files

Postby CharlesJenkins on Mon Aug 20, 2012 5:39 pm

Yes, I believe this is the source of my problem. The .inp file has a funky character inside a quoted string literal.
CharlesJenkins
 
Posts: 10
Joined: Mon Jul 30, 2012 4:27 pm

Re: [BUG] Find in Files won't search all files

Postby CharlesJenkins on Fri Sep 28, 2012 2:01 pm

It sure would be nice to have an acknowledgment of this issue and to know it will be fixed.
CharlesJenkins
 
Posts: 10
Joined: Mon Jul 30, 2012 4:27 pm

Re: [BUG] Find in Files won't search all files

Postby karlnordstrom on Fri Nov 09, 2012 8:11 pm

I have the same problem. I'm attempting to search for a string in a large file and I would like to see a list of matches. Unfortunately, I always get 0 matches, even though the string is in the file in several places. I can do the regular find and it works.

This is the first thing that I've tried with Sublime and it doesn't work. Otherwise, it looks like a really elegant text editor. :(
karlnordstrom
 
Posts: 6
Joined: Fri Nov 09, 2012 8:06 pm

Re: [BUG] Find in Files won't search all files

Postby karlnordstrom on Fri Nov 09, 2012 8:21 pm

karlnordstrom wrote:I have the same problem. I'm attempting to search for a string in a large file and I would like to see a list of matches. Unfortunately, I always get 0 matches, even though the string is in the file in several places. I can do the regular find and it works.

This is the first thing that I've tried with Sublime and it doesn't work. Otherwise, it looks like a really elegant text editor. :(


I figured out how to show the console, and for some reason it thinks that it is a binary file. It's a text file that is readable in any text reader including Sublime. It doesn't help to change the extension to .txt.
karlnordstrom
 
Posts: 6
Joined: Fri Nov 09, 2012 8:06 pm

Next

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], pdiffley and 14 guests