3

for example, Java/Scala sources have a convention that packages like com.domain.example.database should be represented as com/domain/example/database folder structure (and all dirs are empty except last one the database). So I wish to show deep paths like this as a single item as Github does. The com/domain/example/database should be shown as a single folder item at Dired.

As an example on Github see https://github.com/elastic/elasticsearch/tree/master/modules/analysis-common/src/main - that folder has a java/org/elasticsearch/analysis/common and if you click on it, the common be opened.

1 Answer 1

3

There is dired-collapse https://github.com/Fuco1/dired-hacks#dired-collapse which looks like the feature you search for.

1
  • 1
    thanks, it extracts that I'm looked for and it also works fine with dired-subtree together
    – strobe
    Feb 6, 2020 at 8:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.