I tried FileTree on a folder that contains thousands of files. It then print every single one, which seems a bit wasteful.
Of course one could elide the output with ; but sometimes I still want to inspect the whole tree.
I think it would make sense to elide most of the output after N subsequent entries have a distance smaller than a certain threshold.
Similar to how big arrays are showed.
I tried FileTree on a folder that contains thousands of files. It then print every single one, which seems a bit wasteful.
Of course one could elide the output with
;but sometimes I still want to inspect the whole tree.I think it would make sense to elide most of the output after N subsequent entries have a distance smaller than a certain threshold.
Similar to how big arrays are showed.