Sometimes it is necessary to create really stupid directory structures where there are multiple folders that each contain only a single folder and the useful files are nested deep down inside this insanity.
For example, take this flat view of a folder:When we browse to that folder normally we see:And if we want to get to the actual source file Turtles.java we need to go get scuba gear and a diving partner.
It would be great if XY could collapse that src item to src/com/example/application, and then teleport us straight to the goods!
Those familiar with GitHub may know they just recently added this feature.
Not a terribly complex idea on the surface but there's always details...
1) To limit the performance hit I suggest it not follow junctions and has a limit to how deep it goes. This could eventually become a tweak but I think 10 or maybe even 5 levels could be sufficient.
2) Phase 1 should be limited to the list - mostly because I don't use the tree enough to know if this makes any sense there.
3) The history would not include the intermediate folders, so back/fore will jump from root to ocean floor. Up would still go to parent unless the up is back tweak is enabled.
4) One question that arises is how to navigate to the intermediate folders and I feel we have sufficient means via the tree, address bar, breadcrumbs, and Up.
Finally, I know there are alternatives to make this possible today...
Using a script to do the diving is possible, but requires training to always use the script to navigate to a folder - if we could create PFAs for folders, instead of just POMs, it might be a different story.
It's also possible to use a Custom Column script for the scanning and a location Extra Tag column can display the new "name" and trigger a goto script so it is all in the list, but this pollutes tags.dat, is very hacky, and ends up being a bit slow.
So yes, it can be done today but if done by XY I think it could be so much better!
XYplorer Beta Club