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

Allow adding nested files and folders in Add File and Add Folder modal #765

Open
1 of 3 tasks
LakshSingla opened this issue Nov 14, 2018 · 4 comments
Open
1 of 3 tasks

Comments

@LakshSingla
Copy link
Contributor

LakshSingla commented Nov 14, 2018

Nature of issue?

  • Found a bug
  • Existing feature enhancement
  • New feature request

Feature enhancement details:

Current To add files and folders in the directories (i.e. to nest them) one has to manually click on that folder and click on the New File or New Folder button. Adding files as FolderName/FileName won't nest it in the FolderName folder and instead create a new file named FolderName/FileName in the same directory.

Proposed On entering FolderName/FileName, new file named FileName should be created in the FolderName if it is present in the currently selected node. ( Likewise while nesting folders in folders)

Points of Discussion

  • What should happen if FolderName is not present under the current node? Should one implicitly create it or ask the user?
@catarak
Copy link
Member

catarak commented Nov 14, 2018

I think this is a great idea! I'm not sure how to handle the case if the folder name is not already present, though I just checked how Visual Studio Code handles this, and it automatically creates the folder(s) for you.

@LakshSingla
Copy link
Contributor Author

@catarak I would like to start work on this issue. If anyone has claimed it, please lemme know, so that we are both not working on overlapping things.

@catarak
Copy link
Member

catarak commented Nov 19, 2018

@LakshSingla as far as i know, no one is working on this! i see you already started working on it, so that's great.

@LakshSingla
Copy link
Contributor Author

LakshSingla commented Nov 19, 2018

@catarak I have moved the discussion to the Pull Request #767. Please check it out for my concerns :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants