Expand/collapse folders inside the detail view
Re: Expand/collapse folders inside the detail view
Requirements:
The branch view must be sorted by path (otherwise it'll look strange when folders are collapsed / expanded)
These config entries must be set:
Configuration | Find and Filter | Find Files & Branch View | Branch View | [ ] Let folders pass all filters
Configuration | Find and Filter | Filters & Type Ahead Find | Live Filter Box | [x] Enable extended pattern matching
Save the .xys file into your XY script folder (Menu - Go - Go to Application Data Folder) and there into "Scripts"
Menu - User - Manage Commands...
Category: Load Script File
Button "New..." - Add New Command
Caption: Filter folders in branch view
Script File: Filter folders in branch view.xys (or however you've named the file when you saved it)
After that assign it a keyboard shortcut with the button in that "Manage User-Defined Commands" window
You can't use simple arrow keys! I've used ALT+SPACE for the gif animation...
The branch view must be sorted by path (otherwise it'll look strange when folders are collapsed / expanded)
These config entries must be set:
Configuration | Find and Filter | Find Files & Branch View | Branch View | [ ] Let folders pass all filters
Configuration | Find and Filter | Filters & Type Ahead Find | Live Filter Box | [x] Enable extended pattern matching
Save the .xys file into your XY script folder (Menu - Go - Go to Application Data Folder) and there into "Scripts"
Menu - User - Manage Commands...
Category: Load Script File
Button "New..." - Add New Command
Caption: Filter folders in branch view
Script File: Filter folders in branch view.xys (or however you've named the file when you saved it)
After that assign it a keyboard shortcut with the button in that "Manage User-Defined Commands" window
You can't use simple arrow keys! I've used ALT+SPACE for the gif animation...
One of my scripts helped you out? Please donate via Paypal
Re: Expand/collapse folders inside the detail view
Thanks again!! This is a very improved version.
Just one thing: its not working with subfolders. Any chance to make that work also?
Just one thing: its not working with subfolders. Any chance to make that work also?
Re: Expand/collapse folders inside the detail view
In theory? Sure.
But that would require a branch view change on every opened subfolder (because the branch view would need to show everything +1 level down).
Feel free to modify the code for such changes but I don't have time for that...
But that would require a branch view change on every opened subfolder (because the branch view would need to show everything +1 level down).
Feel free to modify the code for such changes but I don't have time for that...
One of my scripts helped you out? Please donate via Paypal
Re: Expand/collapse folders inside the detail view
I'll do my best. Will post it back if I got to a good result.
Thanks a lot for getting this far. Really appreciate it.
Thanks a lot for getting this far. Really appreciate it.
Re: Expand/collapse folders inside the detail view
came here looking for this feature. apparently there are no major file explorers for windows with this feature.
too bad because it looks so useful.. i didnt even know apple had this.
is it a possibility for xyplorer? ive already seen the script thingy but it looks clunky
too bad because it looks so useful.. i didnt even know apple had this.
is it a possibility for xyplorer? ive already seen the script thingy but it looks clunky
-
admin
- Site Admin
- Posts: 64827
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Expand/collapse folders inside the detail view
Never say never. And never say a date.
FAQ | XY News RSS | XY X
Re: Expand/collapse folders inside the detail view
I saw that in "Blue Explorer" (R.I.P.) called SuperView (https://web.archive.org/web/20190317052 ... rview.html):
By SuperView, you can view folders in a File List. You can expand or collapse folders freely.
You can also group files by its file name. This is very helpful. In daily work, you often need modify a document and then save a new version for it. For a file reviewed by several reviewers, you also need keep multiple versions for the file. Using version control tool to manage these files is one way. But it's a little complicated in case you don't have a tool installed.
You can group files by it's filename. How to manage these files? Some time, it's difficult to find the latest one. Also too many files make your search work an headace. To overcome this, super view provides a way to organize files in group and only shows the latest in normal. If you want to view previous version, just expand the group.
The separator to group the file can be "-" or "_". You can set your preference.
Re: Expand/collapse folders inside the detail view
Hello,
I am new concerning the matter of file explorers but the visually terrible Windows-Explorer made it necessary to me to search for an alternative. During the last days I tried various of them and most likely I will decide in favour of XYplorer. (Just waiting until the new 64-bit version will be released.
)
With a certain detail I am not completely happy, and that's the missing feature which rolander brought up in this topic. (Thanks to him for doing so.
)
There is another explorer (apart from the one mentioned above by xy123) who offers it. It's the well-known "Directory Opus" and the feature is called there "Expandable Folders". You can find further information about it (and see a picture) in their online manual: https://docs.dopus.com/doku.php?id=basi ... le_folders
I compared both ways, opening side by side the same folder list with both explorers, and I must say that (to my mind) these little "arrow glyphs" (left of the folder icon) make navigation much more pleasant and convenient.
So I also support rolander's and the other users' suggestion to implement this in the XYplorer.
Thanks also to highend for his script. I will try it afterwards to see how it works. But I think that it cannot be more than a workaround.
I am new concerning the matter of file explorers but the visually terrible Windows-Explorer made it necessary to me to search for an alternative. During the last days I tried various of them and most likely I will decide in favour of XYplorer. (Just waiting until the new 64-bit version will be released.
With a certain detail I am not completely happy, and that's the missing feature which rolander brought up in this topic. (Thanks to him for doing so.
There is another explorer (apart from the one mentioned above by xy123) who offers it. It's the well-known "Directory Opus" and the feature is called there "Expandable Folders". You can find further information about it (and see a picture) in their online manual: https://docs.dopus.com/doku.php?id=basi ... le_folders
I compared both ways, opening side by side the same folder list with both explorers, and I must say that (to my mind) these little "arrow glyphs" (left of the folder icon) make navigation much more pleasant and convenient.
So I also support rolander's and the other users' suggestion to implement this in the XYplorer.
Thanks also to highend for his script. I will try it afterwards to see how it works. But I think that it cannot be more than a workaround.
Last edited by Moonlight on 28 Aug 2025 23:25, edited 2 times in total.
Windows 11 Home, version 25H2
Resolution 1920x1080p // Screen scaling percentage: 125%
XYplorer: at the moment testing always with the most recent 64-bit version (portable)
Resolution 1920x1080p // Screen scaling percentage: 125%
XYplorer: at the moment testing always with the most recent 64-bit version (portable)
-
admin
- Site Admin
- Posts: 64827
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Expand/collapse folders inside the detail view
Many users have expressed interest in this feature over the years, and I agree that it would be a nice, natural addition to the branch view. It's on my post-64 list.
FAQ | XY News RSS | XY X
Re: Expand/collapse folders inside the detail view
Danke schön. 
Windows 11 Home, version 25H2
Resolution 1920x1080p // Screen scaling percentage: 125%
XYplorer: at the moment testing always with the most recent 64-bit version (portable)
Resolution 1920x1080p // Screen scaling percentage: 125%
XYplorer: at the moment testing always with the most recent 64-bit version (portable)
Re: Expand/collapse folders inside the detail view
yass ! thats the the only feature i liked with diropus more than xyplorer , hopefuly don makes it !
its not critical but sometimes you just need a flatview with ex/collapsible folders !
its not critical but sometimes you just need a flatview with ex/collapsible folders !
Re: Expand/collapse folders inside the detail view
XY has already the framework to do this ..
its just appending the to-expand-paths into the adress , like :
the only thing i cant figure out is the duplication of the root folder .
@don possible to get the content listed without the folder ?
its just appending the to-expand-paths into the adress , like :
Code: Select all
path1|path2|path3? /flat /md=0@don possible to get the content listed without the folder ?
- Attachments
-
- XYplorer_CfH8j1vOPF.gif (108.78 KiB) Viewed 2875 times
-
admin
- Site Admin
- Posts: 64827
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Expand/collapse folders inside the detail view
Relax, the feature will come. 
FAQ | XY News RSS | XY X
XYplorer Beta Club