Flatview Showing all files and folders and subfolders together
Not sure if it is possible. But do you not get that behavior if you open search, and search for everything in one folder.
Then all files and folders and subfiles and subfolder are shown in the search result.
Maybe the search need to support for more file system functions so the thing you want to do with files/folder when presented like this can be done here?
SubDir Branch View | FlatView | Flatten Files
---> No Directories appear in the list
---> A Single Click on the Command or Button does the Search
---> Path Tabstop is optional
All Searches below are performed with *.* [ x ] Wildcard.
#1) With File Search, Directories will appear if they have a 'dot' in their name.
#2) With File Search, No files, or only a single Folder's contents will be displayed if you activate Attributes (and don't click on any of the subsequent attributes).
#3) With File Search, No files, or only a single Folder's contents are displayed if you activate Attributes and deselect [] Directory.
#4) With File Search, you cannot select specific folders, then search and have the search only look in those folders.
#5) With File Search, you have a different context menu (right click)
#6) With File Search, you cannot quick filter the panel.
#7) With File Search, the Search Appears in the other panel.
So if there was a Flatten All (or Selected) Folders, a few changes would be required:
A) Hide Filters should work on the list (e.g. Hide Folders, etc).
B) Quick Filter should work on the list.
C) When you Flatten Folders, if there is at least one folder selected, then
-----> ALL of the other folders should be automatically added to the Exclusion List.
D) When you exclude a Folder from within the Panel's context menu:
-----> The excluded folders should be added to the Find Files Exclusion List.
E) The normal context menu should be available, perhaps via Ctrl or Shift + RButton.
F) An option to have the Flattened View displayed in the current tab, instead of the other pane.
------> The type of tab would change, from a Normal Tab to a "File Search" type tab.
------> It's name should stay the same.
------> The icon of the tab should become a Magnifying glass.
------> The tab colour would match that of File Search.
G) [..] UpDir should appear in the Flattened View.
------> Clicking on it, should revert the "File Search|Flattened" Tab to a normal tab - in the same folder you were when you performed the Flatten Files.
Aside from "
F" most of the other changes shouldn't require much in the way of code changes.
Although depending on how Filtering is done in the File Panels that code may need to change.
File Searches can be saved as LST files.
File Searches can be restored.
When you take all that into consideration, there is a significant overlap in the features of Flattened Folders, Virtual Folders, and File Search.
If you consider that:
1) A File Search is basically a Virtual Folder (since you don't have a standard context menu)
2) A File Search contains the results of SOME (or all) Files of SOME (or all) Folders that have a similiar root.
Given that, a Virtual Folder could easily be ANY files from ANY path.
There could be one or more ways to view these virtual folders:
Virtual Folder sorted by Name (no code change required):Folder#1
Folder#2
Folder#3
Example File1 in Folder#1.txt
Example File1 in Folder#2.txt
Example File1 in Folder#3.txt
Example File2 in Folder#1.txt
Example File2 in Folder#2.txt
Example File2 in Folder#3.txt
Virtual Folder sorted by Path (no code change required):Folder#1
Example File1 in Folder#1.txt
Example File2 in Folder#1.txt
Folder#2
Example File1 in Folder#2.txt
Example File2 in Folder#2.txt
Folder#3
Example File1 in Folder#3.txt
Example File2 in Folder#3.txt
In both of these cases, one could then [Hide Folders].
Additional Code would be required:
1) Dragging a file to a Virtual Folder, adds that file to the LST.
2) Deleting a file from a Virtual Folder, removes that file from the LST.
3) Dragging a file OUT of a Virtual Folder to a Normal Tab -> Makes a copy of the file.
4) An additional, optional, Ctrl+Delete that would allow you to delete the REAL file.
Thus,
A File Search is a Virtual Folder with a Search for some or all files from a similiar Root.
A Flattened Folder is a Virtual Folder with a Search for ALL files from a similiar Root.
A Virtual Folder is a ... Virtual Folder that contains files from any Root.