Temporary *Inclusions*

Have a suggestion for "Everything"? Please post it here.
Post Reply
Coldblackice
Posts: 41
Joined: Sun Jul 13, 2014 12:20 am

Temporary *Inclusions*

Post by Coldblackice » Sun May 16, 2021 6:31 am

Would it be possible to have the ability to temporarily *include* things in searches (and not just temporary-exclude)?

Sometimes I need to search for things I've added to Everything's Exclude list (great ability btw). I exclude a number of "noise" folders/files/types like FileHistory, .LNK's, cache folders, etc. but sometimes I need to search for or watch something happening live amongst those.

Currently, this means having to manually disable Everything's Exclude list. It would be great however if the temporary-exclude ability could be inverted as a temporary-include, such as by a switch added in-line with searches for overriding use of the exclusions list, maybe something like a "!!", more or less meaning "cancel/NOT the cancel/NOT aka Exclusion list"

Any chance this might be possible to do?

void
Site Admin
Posts: 6874
Joined: Fri Oct 16, 2009 11:31 pm

Re: Temporary *Inclusions*

Post by void » Sun May 16, 2021 6:44 am

An option to toggle the temporary excludes from the Search is on my TODO list.
Thanks for the suggestion.

For now, you will need to toggle temporary excludes from the Index menu, or right click the status bar.

Double clicking TEMPEXCLUDES in the statusbar will disable temporary excludes.

Coldblackice
Posts: 41
Joined: Sun Jul 13, 2014 12:20 am

Re: Temporary *Inclusions*

Post by Coldblackice » Sun May 16, 2021 12:54 pm

void wrote:
Sun May 16, 2021 6:44 am
An option to toggle the temporary excludes from the Search is on my TODO list.
Thanks for the suggestion.

For now, you will need to toggle temporary excludes from the Index menu, or right click the status bar.

Double clicking TEMPEXCLUDES in the statusbar will disable temporary excludes.
So to clarify, are you saying I should keep temporary-excludes enabled constantly by default, using that as my normal "Excluded" list, and then the odd times I need to search something from the exclusions, that I should disable the temp-exclude function?

void
Site Admin
Posts: 6874
Joined: Fri Oct 16, 2009 11:31 pm

Re: Temporary *Inclusions*

Post by void » Mon May 17, 2021 6:02 am

Yes, toggle the temporary exclude list as needed.

To set a keyboard shortcut to toggle the temporary exclude list:
  • In Everything, from the Tools menu, click Options.
  • Click the Keyboard tab on the left.
  • To the right of Show commands containing, type in: exclude
  • Select Indexes | Enable Temporary Excludes
  • Click Add....
  • Press your keyboard shortcut key (for example: Ctrl + Shift + E) and click OK.
  • Click OK
An alternative would be to change your Everything filter:
  • In Everything, from the Search menu, click Add to Filters....
  • Change Name to: My excludes
  • Change Search to: !*.lnk !c:\cache !"d:\file history\" !e:\etc...
  • Click OK.
Filters can be activated from the Search menu, Filter bar (View -> Filters), right clicking the status bar, filter macro or filter keyboard shortcut.

Note: temporary excludes are more efficient than a filter.
Your searches will be faster when using temporary excludes.



You can use the tempexclude: search function to search your temporary exclude list.
This might be useful to temporarily enable your temporary excludes from the search (the opposite of your request):
!tempexclude:

Consider a filter to search for !tempexclude:
  • In Everything, from the Index menu, uncheck Enable temporary excludes.
  • From the Search menu, click Add to Filters....
  • Change Name to: My excludes
  • Change Search to: !tempexclude:
  • Click OK.
Your temporary exclude list will be enabled when this filter is active.

Post Reply