-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Create new folder in simplified file dialog #71425
Comments
For the meantime: https://marketplace.visualstudio.com/items?itemName=igordvlpr.new-folder |
Hey @mhanuszh, thanks for the mention! 🙌 This was a feature I personally needed for quite some time - we all basically do those steps mentioned by @roblourens on a daily basis so I decided to code an extension for it. Even though the extension already works great, I am actually working on it right now and adding a new feature which will allow it to create new folders using the Simple file dialogs - regardless of user setting, see #127201. If anyone's interested, I think I'll manage to finish it by tomorrow. 😄 |
I've been busy with work and other projects but after a long wait, I worked really hard and managed to finish my FolderPicker npm module for Visual Studio Code that implements the aforementioned behavior and shows a custom QuickPick that allows browsing and creating folders from the Command Palette, even nested/recursive folders. The extension that implements this package is available at New Folder repo. Not perfect (yet) but it works. 😁 |
Also create new file in Open File dialog would be useful. |
…t exist when saving (microsoft#152536) When saving a file using the SimpleFileDialog (for example, when editing a file over SSH), if the directory doesn't exist, the user currently has to cancel saving, create the directory, then try saving again. This adds a prompt to allow the user to create any missing directories from the save dialog directly. Tested with the TestResolver in Code - OSS. I wasn't able to get the Remote - SSH extension working in Code - OSS, but it should work there, since FileService.writeFile calls mkdirp to create missing folders, so this should work with all remote providers. Fixes microsoft#71425. Co-authored-by: Alex Ross <alros@microsoft.com>
…t exist when saving (#152536) When saving a file using the SimpleFileDialog (for example, when editing a file over SSH), if the directory doesn't exist, the user currently has to cancel saving, create the directory, then try saving again. This adds a prompt to allow the user to create any missing directories from the save dialog directly. Tested with the TestResolver in Code - OSS. I wasn't able to get the Remote - SSH extension working in Code - OSS, but it should work there, since FileService.writeFile calls mkdirp to create missing folders, so this should work with all remote providers. Fixes #71425. Co-authored-by: Alex Ross <alros@microsoft.com>
Saving is good. Opening hasn't been implemented -- should there be a new issue for that? |
Maybe you've already thought about this but it would be useful to be able to create a new folder in the simplified file dialog. This could be a button in the title bar or a confirmation step when a folder that doesn't exist was typed.
Creating a folder and opening it, and creating a folder and saving a file in it, are common workflows so it would be useful to be able to do those in one step.
The text was updated successfully, but these errors were encountered: