I've tried to look in the forums for an answer to this question, but I didn't see any. I am a developer, and I like to use textpad for my development, especially the find in files feature to scan through loads of code. All I want it to do is to look for certain strings in text files, but it always scans through my .pdb and .lib and .obj binary files, which corrupts my search results with all this useless data. The "find in files" dialog box has a checkmark that says "binary files", but I can't figure out how to tell textpad that *.pch, *.lib, and *.obj files are binary files and NOT to search through them. I've updated the Document classes preferences menu in my options, and even though I've added those file types to my Binary files Document classes, it still searches through them. Can anybody help? Thanks in advance
Kent
Excluding binary files with "Find in Files"
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Ed
Re: Excluding binary files with "Find in Files"
You need to specify file extensions that you want to search in the "Find in Files" dialogue box.
Thus for my normal searches I have in the box marked "In Files"
*.h *.c *.cpp
Thus for my normal searches I have in the box marked "In Files"
*.h *.c *.cpp
-
Kent Knox
Re: Excluding binary files with "Find in Files"
Jimminy Cricket!
I feel pretty dumb
Nothing keeps your Ego in check like an obvious blunder. Thanx for your help.
I feel pretty dumb
-
Charlie Hills
Re: Excluding binary files with "Find in Files"
I know I'm coming in late to the discussion, but I think it would be nice if Find in Files could somehow be tied into the list of Binary document class. I quite often do full-code sweeps where I'm looking for a particular bit of code, yet don't want to bother with binary files, and also don't want to have to think of every possible file extension before starting. Search *.* excluding binary might be nice. I'm glad I came across this thread: at least I see I'm not the only one who's run across this.