How to add folder?

I see other projects have folders, but I can’t figure out how to add them. I need a pages folder to use next.js.

You add them as part of your file name from the new file option. So for example, name a file ‘temp/example.txt’ and it’ll create the folder temp with the file example.txt inside it.

4 Likes

@Gareth, I tried that but the file structure is still flat:

image

Is there a way to actually have the files displayed as nested folders as well?

no, they just get grouped by folder in the list.

do owners can improve it? to folders be nested

@MarioWahoo we have enhancements to our folder list in our backlog, but no firm timeline on when those will be rolled out. Thank you for your request!

This is very similar to how I create folders on Github. Thank you for the tip