Page 1 of 1

Find in files broken

Posted: 23 Jun 2014 10:01
by Adequat
Using latest official version: easy to reproduce: find some text in a file called "a.filters"
and nothing is found.

Reverting to 14.10 solves the problem.

Re: Find in files broken

Posted: 23 Jun 2014 10:10
by bdeshi
And you didn't change any options in any find tab in 14.10?
I created a file "a.filters" with data "test test tst" and my content-based search found it correctly.

Re: Find in files broken

Posted: 23 Jun 2014 11:31
by highend
Folder: D:\Temp
File: a.filters
Content: test testing
Excluded:
*\System Volume Information\*
*\$RECYCLE.BIN\*

v14.20.0201 & v14.20.0206
Both won't find that file

"Reset Filters" was clicked and only "Contents" was active.
Neither with "test" nor with "testing".

So, OP confirmed...

Re: Find in files broken

Posted: 23 Jun 2014 12:13
by bdeshi
Select text and binary from the dropdown below contentbox? .filters is not considered a plaintext format

Re: Find in files broken

Posted: 23 Jun 2014 15:55
by Adequat
With text and binary, it works indeed.
".filters" is a common Microsoft Visual Studio XML file.

Re: Find in files broken

Posted: 23 Jun 2014 16:17
by bdeshi
To clarify, " .filters is not considered a plaintext format" by XYplorer.

Re: Find in files broken

Posted: 23 Jun 2014 16:30
by admin
SammaySarkar wrote:To clarify, " .filters is not considered a plaintext format" by XYplorer.
Yep, that's the point.

I now added "*.filters" to the default Text extensions. Are there more such C++/Visual Studio extensions missing in XY?

Re: Find in files broken

Posted: 24 Jun 2014 08:32
by Stef123
Is there a way to edit these groups myself? Or to create similar catch-all-related categories?

For private use I have a bunch of pure txt- file extensions (to have them open with different programs, some super fast, some more elaborate). At the moment I use a search template for them. If I could set up my own group (for filters and QNS) - that would be cool.

Re: Find in files broken

Posted: 24 Jun 2014 08:37
by admin
Just via a tweak:

Code: Select all

TextPreviewCustomExtensions=bim.bam.bum

Re: Find in files broken

Posted: 24 Jun 2014 08:46
by Stef123
Great. Good enough. :appl: (wish I had asked earlier)

Re: Find in files broken

Posted: 24 Jun 2014 08:49
by bdeshi
Or manually add extenisons in batch to other categories: find these under [settings] in the main.ini:

Code: Select all

; Tweak: all extension lists dot-separated: bim.bam.bum
TextPreviewCustomExtensions=
TextUTF8CheckCustomExtensions=
FontPreviewCustomExtensions=
ImagePreviewCustomExtensions=
MediaPreviewCustomExtensions=
OfficePreviewCustomExtensions=
AudioPreviewCustomExtensions=
VideoPreviewCustomExtensions=
VectorPreviewCustomExtensions=
ArchivePreviewCustomExtensions=
ZipFldrCustomExtensions=
ZipViewCustomExtensions=
ExePreviewCustomExtensions=
[/size]

EDIT: Oh, this is very probably redundant. I imagined Don was talking about the tweak SC.

Re: Find in files broken

Posted: 24 Jun 2014 08:54
by admin
It was definitely more complete than my reply. :)