alexmdodge / github-diff-explorer

The GitHub Diff Explorer is a Chrome/Firefox extension that generates a seamless file explorer with a minimalist focus.
https://gde.alexdodge.ca/
MIT License
29 stars 5 forks source link

Task: Ability to compact nested directories #72

Open trustin opened 3 years ago

trustin commented 3 years ago

In a Java project repository (or some complex project with deep directory structure), I see a tree like this: image It'd be nice if this extension detects such cases and compress the tree like this:

+- moduleA/src/main/java/com/....
   +- FooBar.java
+- moduleB/src
   +- main/java/...
      +- AliceBob.java
   +- test/java/...
      +- CharlieDelta.java

.. so that the left side of the pane is not wasted.

alexmdodge commented 3 years ago

@trustin I think this is a great ask. Similar feature to what VSCode provides. Noted in the other ticket, but I think having this configurable along with the other options would certainly be helpful.