parent: could automatically use the currently selected folder in the Folders pane

Have a suggestion for "Everything"? Please post it here.
damasd
Posts: 27
Joined: Mon Oct 30, 2017 11:41 am

parent: could automatically use the currently selected folder in the Folders pane

Post by damasd »

Hi there :) ,

Here's what I'm experiencing and the idea I'd like to suggest:

Currently:
- If I click any folder in the left pane (Folders) with an empty search bar → I immediately see the direct contents (perfect).
- But if I type `parent:` (or any other query) in the search bar and then click a folder in the Folders pane → I get zero results.

It would be extremely useful if typing only "parent:" in the search bar and then clicking a folder in the Folders pane would automatically show the direct contents of that folder — without needing to write anything else.

The behavior imho would be perfectly consistent and intuitive:

empty bar + click folder = see contents (current behavior)
write "parent:" + click folder = also see direct contents of that folder (requested behavior)

This small change would make the Folders pane and the parent: operator work together seamlessly (and probably not just parent: but many others...)

Hope you'll consider it.
Thank you!
void
Developer
Posts: 19901
Joined: Fri Oct 16, 2009 11:31 pm

Re: parent: could automatically use the currently selected folder in the Folders pane

Post by void »

There is already:

treeview-no-subfolders:

-Shows files/folders directly in the treeview. (Overrides the Folders Subfolders checkbox)
damasd
Posts: 27
Joined: Mon Oct 30, 2017 11:41 am

Re: parent: could automatically use the currently selected folder in the Folders pane

Post by damasd »

void wrote: Tue Mar 10, 2026 12:34 am There is already:

treeview-no-subfolders:

-Shows files/folders directly in the treeview. (Overrides the Folders Subfolders checkbox)
Wow awesome, you're the goat

May I ask you why writing parent: doesn't work?

also, i'm not sure i understand the difference between writing nothing and treeview:, or the difference between
treeview-no-sub-folders:
and
treeview-or-root-no-subfolders:
could you please explain?

Thank you
void
Developer
Posts: 19901
Joined: Fri Oct 16, 2009 11:31 pm

Re: parent: could automatically use the currently selected folder in the Folders pane

Post by void »

parent: is a different function and is not aware of the treeview.

parent:<folder>
finds files and folders directly in the specified folder.

Consider the following valid search:
Treeview selection: C:\Windows
Treeview Subfolders: checked
Search:
parent:c:\windows\system32


Only files directly in c:\windows\system32 are shown.



treeview:, treeview-no-subfolders: and treeview-or-root-no-subfolders: are hidden internal functions.
They are used to apply your folder sidebar (treeview) selection.
They are just documented for completeness sake and shouldn't really be used.

treeview: = show files/folders that are children or grandchildren from any of the selection in the treeview.
treeview-no-subfolders: = show files/folders that are children from any of the selection in the treeview.
treeview-or-root-no-subfolders: = same as treeview-no-subfolders: with roots also being shown.



In your case, just use
treeview-no-subfolders:

treeview-or-root-no-subfolders: is only necessary if you select multiple folders in the treeview and also select "Everything" in the treeview.



Please consider a bookmark macro so you don't have to type treeview-no-subfolders: each time:
  • In Everything, from the Bookmarks menu, click Add to bookmarks....
    Change the Name to:
    Treeview Parent

    Change the Search to:
    treeview-no-subfolders:

    Change the Macro to:
    tp
Now you only need to type
tp:
which is automatically replaced with
treeview-no-subfolders:
damasd
Posts: 27
Joined: Mon Oct 30, 2017 11:41 am

Re: parent: could automatically use the currently selected folder in the Folders pane

Post by damasd »

void wrote: Tue Mar 10, 2026 11:48 pm parent: is a different function and is not aware of the treeview.

parent:<folder>
finds files and folders directly in the specified folder.

Consider the following valid search:
Treeview selection: C:\Windows
Treeview Subfolders: checked
Search:
parent:c:\windows\system32


Only files directly in c:\windows\system32 are shown.



treeview:, treeview-no-subfolders: and treeview-or-root-no-subfolders: are hidden internal functions.
They are used to apply your folder sidebar (treeview) selection.
They are just documented for completeness sake and shouldn't really be used.

treeview: = show files/folders that are children or grandchildren from any of the selection in the treeview.
treeview-no-subfolders: = show files/folders that are children from any of the selection in the treeview.
treeview-or-root-no-subfolders: = same as treeview-no-subfolders: with roots also being shown.



In your case, just use
treeview-no-subfolders:

treeview-or-root-no-subfolders: is only necessary if you select multiple folders in the treeview and also select "Everything" in the treeview.



Please consider a bookmark macro so you don't have to type treeview-no-subfolders: each time:
  • In Everything, from the Bookmarks menu, click Add to bookmarks....
    Change the Name to:
    Treeview Parent

    Change the Search to:
    treeview-no-subfolders:

    Change the Macro to:
    tp
Now you only need to type
tp:
which is automatically replaced with
treeview-no-subfolders:
Yes i was trying to make the smallest effort to see parents when using the folder pane via shortcuts.
Thank you so much for your effort and help. I'm not even sure if I'm talking to an AI or not. You are truly awesome!
Thanks!