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

[UX] Creating multiple folders with / in the name #4741

Closed
benoitf opened this issue Mar 28, 2019 · 4 comments
Closed

[UX] Creating multiple folders with / in the name #4741

benoitf opened this issue Mar 28, 2019 · 4 comments
Labels
enhancement issues that are enhancements to current functionality - nice to haves filesystem issues related to the filesystem good first issue good first issues for new contributors ui/ux issues related to user interface / user experience

Comments

@benoitf
Copy link
Contributor

benoitf commented Mar 28, 2019

Description

Let say I need to create src/main/java folder, I need to create first src then main then java while typically on IDE I can enter directly src/main/java and all three folders are automatically created

In Theia it displays Invalid name, try other

Reproduction Steps

Menu File / New Folder
enter src/main/java

OS and Theia version:
macOS / master

Diagnostics:
N/A

@benoitf benoitf added enhancement issues that are enhancements to current functionality - nice to haves good first issue good first issues for new contributors filesystem issues related to the filesystem ui/ux issues related to user interface / user experience labels Mar 28, 2019
@vince-fugnitto
Copy link
Member

@benoitf I'm wondering, would it be useful in your case to also be able to flatten the Explorer. I know that Java projects often have very long package names such as (com.domain.package.task).

Instead of displaying the following in the Explorer:

+ com
  + domain
    + package
      + task 
        Task.java
...

We can optimize the display to:

+ com/domain/package/task
  Task.java
...

In essence, if we find that there are a single child node in a directory which itself is a directory then we can offer a flattened Explorer or at least be able to toggle to flatten. My only worry is finding the proper mechanism to add an entry in the middle, say package. What are your thoughts?
There is an issue present in VSCode for such a functionality microsoft/vscode#41627

@benoitf
Copy link
Contributor Author

benoitf commented Apr 2, 2019

@vince-fugnitto yes that's also a nice improvement like it's done on github explorer as well
to flatten view when there is only one folder in child.

I like that ❤️

@benoitf
Copy link
Contributor Author

benoitf commented Apr 2, 2019

@vince-fugnitto about your issue on entry in the middle, new Folder or new Package could contain a pre-populate content

@vince-fugnitto
Copy link
Member

@vince-fugnitto yes that's also a nice improvement like it's done on github explorer as well
to flatten view when there is only one folder in child.

I like that

I added a separate issue highlighting the proposal #4783 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issues that are enhancements to current functionality - nice to haves filesystem issues related to the filesystem good first issue good first issues for new contributors ui/ux issues related to user interface / user experience
Projects
None yet
Development

No branches or pull requests

2 participants