CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

✨ Naming file that includes path in input creates new folders and moves file as applicable

Open austincondiff opened this issue 2 years ago • 1 comments

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

austincondiff avatar Feb 17 '23 19:02 austincondiff

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.

RenanGreca avatar Feb 18 '23 09:02 RenanGreca

@KaiTheRedNinja is this something that you are still able to port over from AuroraEditor or is it different enough to justify starting from scratch?

austincondiff avatar Aug 02 '23 16:08 austincondiff

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

KaiTheRedNinja avatar Aug 03 '23 05:08 KaiTheRedNinja

seems like its already done :D thanks to @matthijseikelenboom (i think)

image

KaiTheRedNinja avatar Sep 09 '23 04:09 KaiTheRedNinja