Page 1 of 1
How to add extension to be considered "text file" in search?
Posted: 10 Jun 2015 11:14
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!
Re: How to add extension to be considered "text file" in sea
Posted: 10 Jun 2015 11:17
by highend
Add it to your XYplorer.ini file
TextPreviewCustomExtensions=.ejs
Re: How to add extension to be considered "text file" in sea
Posted: 10 Jun 2015 11:58
by Philipp
Thanks, that did the job!
Re: How to add extension to be considered "text file" in sea
Posted: 10 Jun 2015 12:18
by LittleBiG
Why didn't you do by Tools/Configuration/Previewed formats/Text files/Add... ?? Would have been simpler.
Re: How to add extension to be considered "text file" in sea
Posted: 10 Jun 2015 12:40
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.)