✨ Naming file that includes path in input creates new folders and moves file as applicable
Description
Including path while renaming a file should create appropriate folders and move file based on input.
| Sample Input | Description |
|---|---|
| foo/bar.json | Creates bar.json in folder called foo If folder foo doesn't exist it is created |
| ../bar.json | Creates bar.json in parent folder |
https://user-images.githubusercontent.com/806104/219768709-6035653a-1b43-4938-9530-d73a3df3e677.mp4
Originally appeared on Twitter
I think that, for this to be more useful, first we need to let the user rename a file immediately upon creation, instead of simply naming the file "untitledX" automatically. It's also related to the to-do about placing new files in the directory of the active file, rather than the project root.
@KaiTheRedNinja is this something that you are still able to port over from AuroraEditor or is it different enough to justify starting from scratch?
yeah i can port it over from AE, might need some modifications because of the changes in file manager. But ultimately should be simple enough
seems like its already done :D thanks to @matthijseikelenboom (i think)