Nerdtree: Support collapsing directories with only one subdirectory.

Created on 30 Jun 2011  Â·  6Comments  Â·  Source: preservim/nerdtree

When working with Java code I often have a rather deep directory structure and it would be nice if the plugin could use less space to render them.

Today:

â–¾ web/
  â–¾ src/
    â–¾ main/
      â–¾ scala/
        â–¾ com/
          â–¾ company/
            â–¾ webshop/
                Foo.java
    â–¾ test/
      â–¾ scala/
        â–¾ com/
          â–¾ company/
            â–¾ webshop/
                FooSpec.java

Possible example:

â–¾ web/src/
  â–¾ main/scala/com/company/webshop/
    Foo.java
  â–¾ test/scala/com/company/webshop/
    FooSpec.java
feature request

Most helpful comment

I find this feature annoying and would like an option to turn it off.

All 6 comments

Add one more vote for this feature request.

It would be realy wonderful if this feature was available

+1, but this will make NERDTree window width too long, and omitted by short width is not good. So please consider to have a function to short them.
Like this:

â–¾ main/scala/com/company/webshop/
â–¾ main/.../webshop/

Bump, this would be great to have.

I think this is currently implemented, because I came here looking for a way to disable it.

I find this feature annoying and would like an option to turn it off.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BigfootN picture BigfootN  Â·  5Comments

yuanjianpeng picture yuanjianpeng  Â·  5Comments

Coleej picture Coleej  Â·  3Comments

PinheiroCosta picture PinheiroCosta  Â·  4Comments

nicknisi picture nicknisi  Â·  5Comments