Find in files broken

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Adequat
Posts: 97
Joined: 20 Jul 2007 12:03

Find in files broken

Post 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.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Find in files broken

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Find in files broken

Post 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...
One of my scripts helped you out? Please donate via Paypal

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Find in files broken

Post by bdeshi »

Select text and binary from the dropdown below contentbox? .filters is not considered a plaintext format
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Adequat
Posts: 97
Joined: 20 Jul 2007 12:03

Re: Find in files broken

Post by Adequat »

With text and binary, it works indeed.
".filters" is a common Microsoft Visual Studio XML file.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Find in files broken

Post by bdeshi »

To clarify, " .filters is not considered a plaintext format" by XYplorer.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 67299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Find in files broken

Post 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?

Stef123

Re: Find in files broken

Post 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.

admin
Site Admin
Posts: 67299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Find in files broken

Post by admin »

Just via a tweak:

Code: Select all

TextPreviewCustomExtensions=bim.bam.bum

Stef123

Re: Find in files broken

Post by Stef123 »

Great. Good enough. :appl: (wish I had asked earlier)

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Find in files broken

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 67299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Find in files broken

Post by admin »

It was definitely more complete than my reply. :)

Post Reply