How can I target all types of text files for content indexing?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Jose-Santiago3333
Posts: 10
Joined: Sat Aug 13, 2022 8:19 pm

How can I target all types of text files for content indexing?

Post by Jose-Santiago3333 »

I am currently in a dillema, I aim to index all text files under home folder. Currently the way I go about it is very frustrating. I keep declaring new files and reindex. My list for files to index is currently:

Code: Select all

*.ini;*.ahk;*.doc;*.docx;*.pdf;*.txt;*.xls;*.xlsx;*.md;*.url;*.html;*.svg;*.csv
but the very next day I will find another text based file extension I need to index. Just while writting this I noticed .Xml is not listed :|.
I am currently learning programming and everythings Content search features really make the hard task of learning programming just that much easier.

I know text based file extensions use diffrent encoding (something I know nothing about) is there a way to build a filter that targets a general set of encodings such UTF-8, ASCII, ANSII etc etc and then pass this filter to the Content index page of the Settings panel?

I essentialy want a filter of "If Notepad can read it, INDEX its content". if does not have to 100% if it gets me 90% there, its fine.
I am not worried of Database size, I performed neccesary tests already and was very happy with performance.
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: How can I target all types of text files for content indexing?

Post by void »

It's tricky for Everything to determine what is a text document.

Please consider the following list of extensions for text documents:

Code: Select all

c;cc;chm;cpp;cs;css;csv;cxx;doc;docm;docx;dot;dotm;dotx;epub;h;hpp;htm;html;hxx;ini;java;js;json;lua;mht;mhtml;mobi;odp;ods;odt;pdf;php;potx;potm;ppam;ppsm;ppsx;pps;ppt;pptm;pptx;pub;py;rtf;sldm;sldx;thmx;txt;vsd;wpd;wps;wri;xlam;xls;xlsb;xlsm;xlsx;xltm;xltx;xml;vb
This extension list is from the default document filter in Everything.

This should cover most standard documents.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: How can I target all types of text files for content indexing?

Post by tuska »

2Jose-Santiago3333

This post might also be of interest to you.
Jose-Santiago3333
Posts: 10
Joined: Sat Aug 13, 2022 8:19 pm

Re: How can I target all types of text files for content indexing?

Post by Jose-Santiago3333 »

void wrote: Fri Aug 19, 2022 10:53 am It's tricky for Everything to determine what is a text document.

Please consider the following list of extensions for text documents:

Code: Select all

c;cc;chm;cpp;cs;css;csv;cxx;doc;docm;docx;dot;dotm;dotx;epub;h;hpp;htm;html;hxx;ini;java;js;json;lua;mht;mhtml;mobi;odp;ods;odt;pdf;php;potx;potm;ppam;ppsm;ppsx;pps;ppt;pptm;pptx;pub;py;rtf;sldm;sldx;thmx;txt;vsd;wpd;wps;wri;xlam;xls;xlsb;xlsm;xlsx;xltm;xltx;xml;vb
This extension list is from the default document filter in Everything.

This should cover most standard documents.
Brilliante, Thank you!
I noticed, C is first, of course!
Post Reply