Open hungpham3112 opened 9 months ago
It would seem risky to quietly auto-create directories that didn't exist previously, because this will often mean that a mistyped existing directory gets converted into a real directory. I think the existing behaviour is useful, and also common practice with pretty much any other application I know. Or at least there ought to be a manual confirmation before any directories are created automatically. And if you support directory creation, you must also support directory deletion, such that users can undo accidental creations.
See also #1080
Pluto's notebook renaming field could in theory be extended into a more full-featured file-selection box, like those offered by various GUI widget sets, which, among other things, allow the user from within the file-selection GUI pop-up to create (and delete) folders. This could be useful in hosted Pluto server situations where the user doesn't have direct access to the file system, and can interact with it only through Pluto.
Today I open new notebook then want to save them in new directory but Pluto says:![image](https://github.com/fonsp/Pluto.jl/assets/75968004/449b8e84-43ba-4e05-a0ad-82d18f900cd3)
I know I should create new folder before adding new notebook to them but it will more convenience for saving notebook immediately in this way.