Creating files and folders
File Architect makes it simple to create folder structures and files with just text. The key is understanding how files and folders are distinguished.
Basic Rules
- Lines with file extensions (like
.txt
,.js
,.md
) create files - Lines without extensions create folders
- Indentation creates hierarchy - use tabs to nest items
- Spaces are allowed in names, but avoid
.
,\
,/
, and:
characters
TIP
If you want a dot in the name of a folder, you can do so by putting a backslash before the dot. So 01\.Folder
will create a folder named 01.Folder
Example
01. My Project
src
components
common
Button.jsx
Modal.jsx
layout
Header.jsx
Footer.jsx
pages
Home.jsx
About.jsx
App.jsx
public
images
favicon.ico
package.json
01. My Project
src
components
common
Button.jsx
Modal.jsx
layout
Header.jsx
Footer.jsx
pages
Home.jsx
About.jsx
App.jsx
public
images
favicon.ico
package.json
Tips
- Start with main folders, then add subfolders and files
- Use consistent indentation for the same hierarchy level
- Files are created blank by default - use copy and import to copy or move files instead