How to add extension to be considered "text file" in search?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Philipp
Posts: 5
Joined: 04 Mar 2012 14:41

How to add extension to be considered "text file" in search?

Post by Philipp »

In the search, I can restrict to just "Text files", helpful for speed, but *.ejs files (template files in Node) aren't found. How can I add *.ejs files to be considered text files?

Thanks!

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

Re: How to add extension to be considered "text file" in sea

Post by highend »

Add it to your XYplorer.ini file
TextPreviewCustomExtensions=.ejs
One of my scripts helped you out? Please donate via Paypal

Philipp
Posts: 5
Joined: 04 Mar 2012 14:41

Re: How to add extension to be considered "text file" in sea

Post by Philipp »

Thanks, that did the job!
Last edited by Philipp on 10 Jun 2015 12:37, edited 1 time in total.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: How to add extension to be considered "text file" in sea

Post by LittleBiG »

Why didn't you do by Tools/Configuration/Previewed formats/Text files/Add... ?? Would have been simpler.

Philipp
Posts: 5
Joined: 04 Mar 2012 14:41

Re: How to add extension to be considered "text file" in sea

Post by Philipp »

LittleBiG wrote:Why didn't you do by Tools/Configuration/Previewed formats/Text files/Add... ?? Would have been simpler.
I came here to find out exactly where it was. Thanks for this answer!

(The configurations dialog is a little overwhelming, and there wasn't any relevant entry in the "Find Files" category, nor does a config search for "Search" turn up the right things. Higher usability would probably be achieved by linking a type of settings wrench icon next to the "text files" combo box to the respective config entry where one can adjust it, and/or adding an addition Search category or having this option be in Find Files in addition to the other category.)

Post Reply