When creating a new file, start with the current path

For example, if I’m editing foo/bar/baz.js and I click “New File,” the new file’s file name should start out being foo/bar/my-file, with my-file selected.

1 Like

Hi there!

This request is old, but I just want to let you know that this actually works now! Try it yourself. :slight_smile:

1 Like

Really? It doesn’t seem to be working for me. No matter what file I am editing when I click “New File” the file name field that appears is empty, requiring me to type the full path to the file I want to create starting with public/.

I find this incredibly annoying. Is there a setting that I need to toggle on to get it to work or something like that?

Hey @cmarabate,

I’m sorry! It looks like the “New File” button is currently requiring users to type the entire file path when creating a new file within a folder.

I have documented this and passed the feedback along to the rest of the team. When it gets fixed, I’ll post an update here.

2 Likes