text/plain file types

Discussion related to "Everything" 1.5 Alpha.
Post Reply
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

text/plain file types

Post by void »

Everything will treat content for files with an extension from the following list as text/plain:
  • a
  • ans
  • asc
  • ascx
  • asm
  • asp
  • aspx
  • asx
  • bas
  • bat
  • bcp
  • btm
  • c
  • cc
  • cd
  • cls
  • cmd
  • cod
  • contact
  • cpp
  • cs
  • csa
  • csh
  • cshader
  • csproj
  • css
  • csv
  • cxx
  • dbs
  • def
  • dic
  • dos
  • dsh
  • dshader
  • dsp
  • dsw
  • efu
  • eml (temporarily until I add my own eml content handler)
  • ext
  • faq
  • filters
  • fky
  • fx
  • gsh
  • gshader
  • h
  • hh
  • hhc
  • hlsl
  • hlsli
  • hpp
  • hta
  • htm
  • html
  • hpp
  • hsh
  • hshader
  • htt
  • htw
  • htx
  • hxx
  • i
  • ibq
  • ics
  • idl
  • idq
  • inc
  • inf
  • ini
  • inl
  • inx
  • ipp
  • jav
  • java
  • js
  • json
  • jsproj
  • kci
  • lgn
  • log
  • lst
  • lua
  • m3u
  • mak
  • map
  • mdp
  • mk
  • odc
  • odh
  • odl
  • php
  • pkgdef
  • pkgundef
  • pl
  • prc
  • ps1xml
  • psh
  • pshader
  • py
  • rc
  • rc2
  • rct
  • reg
  • res
  • rgs
  • rul
  • s
  • scc
  • shtm
  • shtml
  • sln
  • slnf
  • sol
  • sql
  • srf
  • stm
  • tab
  • tdl
  • tlh
  • tli
  • trg
  • tt
  • txt
  • udf
  • udt
  • url (added in v1269a)
  • user
  • usr
  • vb
  • vbproj
  • vbs
  • vcp
  • vcproj
  • vcw
  • vcxproj
  • viw
  • vsh
  • vshader
  • vspscc
  • vsscc
  • vssscc
  • wri
  • wtx
  • xml
  • xsd
  • xsl
  • xslt
Everything will not use any associated iFilter for these file types.

Everything will use the extension-associated iFilter for files NOT on this list.
If there is no extension-associated iFilter, the file will be treated as text/plain.

To add to this list now:
  • In Everything, from the Tools menu, under the Debug submenu, click Config
    this will open your Everything configuration in Notepad.
  • Add your extension to the semicolon delimited (;) text plain extension list:

    text_plain_extensions=a;ans;asc;ascx;asm;asp;aspx;asx;bas;bat;bcp;btm;c;cc;cd;cls;cmd;cod;contact;cpp;cs;csa;csh;cshader;csproj;css;csv;cxx;dbs;def;dic;dos;dsh;dshader;dsp;dsw;efu;eml;ext;faq;filters;fky;fx;gsh;gshader;h;hh;hhc;hlsl;hlsli;hpp;hta;htm;html;hpp;hsh;hshader;htt;htw;htx;hxx;i;ibq;ics;idl;idq;inc;inf;ini;inl;inx;ipp;jav;java;js;json;jsproj;kci;lgn;log;lst;lua;m3u;mak;map;mdp;mk;odc;odh;odl;php;pkgdef;pkgundef;pl;prc;ps1xml;psh;pshader;py;rc;rc2;rct;reg;res;rgs;rul;s;scc;shtm;shtml;sln;slnf;sol;sql;srf;stm;tab;tdl;tlh;tli;trg;tt;txt;udf;udt;user;usr;vb;vbproj;vbs;vcp;vcproj;vcw;vcxproj;viw;vsh;vshader;vspscc;vsscc;vssscc;wri;wtx;xml;xsd;xsl;xslt
  • Save changes and close Notepad.
  • Accept the prompt in Everything to reload your configuration file.
Please request any text/plain files types you would like to see on this list here.
phil2search
Posts: 23
Joined: Tue Mar 20, 2018 9:04 pm

Re: text/plain file types

Post by phil2search »

Hello,

just trying that. Very useful I think (at least for people like me putting pointers in their folders on how to find stuff).
Suggestion for default extensions:
.md (markdown)
.awk .sci (awk and scilab programming languages).

I added them in the .ini file and for some reason it does not seem to work. Anyhow.

I also have a suggestion that is a bit different: readme (with various extensions) changelog changes etc. are typically used to mark folders contents.
Perhaps allowing to index a few filenames irrelevant of their extension would be useful. (readme* ).
Again, as a way not to index the contents of a whole drive (otherwise it would be too slow) but be able to target high value things.

Thanks again for everything :) !
Philippe
horst.epp
Posts: 1447
Joined: Fri Apr 04, 2014 3:24 pm

Re: text/plain file types

Post by horst.epp »

phil2search wrote: Sun Jul 11, 2021 5:27 pm Hello,

just trying that. Very useful I think (at least for people like me putting pointers in their folders on how to find stuff).
Suggestion for default extensions:
.md (markdown)
.awk .sci (awk and scilab programming languages).

I added them in the .ini file and for some reason it does not seem to work. Anyhow.

I also have a suggestion that is a bit different: readme (with various extensions) changelog changes etc. are typically used to mark folders contents.
Perhaps allowing to index a few filenames irrelevant of their extension would be useful. (readme* ).
Again, as a way not to index the contents of a whole drive (otherwise it would be too slow) but be able to target high value things.

Thanks again for everything :) !
Philippe
I would not add .md to the text only entry.
Microsoft Powertoys brings a markdown preview handler.
and Everything indexes them if added to the "Include only files" in Content indexes.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: text/plain file types

Post by void »

This text/plain list will avoid using iFilters. (as an optimization and to fix issues with iFilters returning the wrong content)
Files are treated as text/plain if there is no associated iFilter.
.md (markdown)
.awk .sci (awk and scilab programming languages).
Thank you for the text/plain suggestions.
I will consider adding them to the default list.
I added them in the .ini file and for some reason it does not seem to work. Anyhow.
Please make sure Everything is not running when modifying your Everything.ini.
Right click the Everything system tray icon and click Exit.

Please double check your Everything.ini to see if your changes have persisted.

If you are indexing content, please force a rebuild from Tools -> Options -> Indexes after changing your text/plain list.
I also have a suggestion that is a bit different: readme (with various extensions) changelog changes etc. are typically used to mark folders contents.
Perhaps allowing to index a few filenames irrelevant of their extension would be useful. (readme* ).
Again, as a way not to index the contents of a whole drive (otherwise it would be too slow) but be able to target high value things.
I will consider treating these files (without extensions or with any extension) as text/plain.
Thank you for your suggestion.

For now, to index these files as text/plain:
  • In Everything, from the Tools menu, click Options.
  • Click the Content tab on the left.
  • Include the following in Include only files:
    *.md;*.awk;*.sci;readme;readme.*;changelog;changelog.*;changes;changes.*
  • Click OK.
Post Reply