Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse Java-style empty hierarchies #39252

Closed
pumpkinlink opened this issue Nov 28, 2017 · 4 comments
Closed

Collapse Java-style empty hierarchies #39252

pumpkinlink opened this issue Nov 28, 2017 · 4 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality file-explorer Explorer widget issues

Comments

@pumpkinlink
Copy link

pumpkinlink commented Nov 28, 2017

  • VSCode Version: 1.18.1
  • OS Version: Windows 7

Steps to Reproduce:

  1. Open Java Project
  2. Check the Explorer tree-view
  3. Notice many java package directories with only one children

Reproduces without extensions: Yes

The tree-view currently looks like this

project
    src
        main
            java
                com
                    example
                        project
                            subproject
                                app
                                    jms
                                        source1.java
                                        source2.java
                                        source3.java
                                library-foo
                                        source1.java
                                        source2.java
                                        source3.java

Java IDEs and editors like Eclipse, IntelliJ, Atom and even Github and Gitlab have a feature in their tree-view/file browser interfaces to collapse directories that only have one entry in them. So the above would look like this:

project
    src/main/java/com/example/project/subproject
        app/jms
                source1.java
                source2.java
                source3.java
        library-foo
                source1.java
                source2.java
                source3.java
@kieferrm kieferrm added feature-request Request for new features or functionality file-explorer Explorer widget issues labels Nov 28, 2017
@AiJiangnan
Copy link

AiJiangnan commented Dec 2, 2017

Yes! I love it very much. It is like:

com.example.project.subproject
    app.jms
                source1.java
                source2.java
                source3.java
    library-foo
                source1.java
                source2.java
                source3.java

@bpasero
Copy link
Member

bpasero commented Jan 12, 2018

I would say, /duplicate #6328

@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 12, 2018
@vscodebot
Copy link

vscodebot bot commented Jan 12, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Jan 12, 2018
@gulshan
Copy link

gulshan commented Feb 12, 2018

Requested same feature not seeing this one in- #41627 and mine was also closed. But I took the discussion a bit further and it was reopened. Because file nesting is a different feature.

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality file-explorer Explorer widget issues
Projects
None yet
Development

No branches or pull requests

5 participants