You can create and delete folders and files within your Code Editor to help keep files organised.

Creating a Folder

Within your Code Editor, to the right-hand side of a folder within the left-hand menu, click the icon that says "New Folder" when you hover on it. Insert a name for this new folder and click "Create".

Note: when you create a folder it will be added to the current directory level e.g. within the folder you are currently viewing.

Creating a File

To the right-hand side of a folder, click the icon that says "New File" when you hover on it. You'll then need to add the name of one of the Files you'd like to add inside the folder e.g. new_file.liquid.

Note: Make sure to remember the file extension, and to use _ or - if you need to use a space in your file name.

Deleting A Folder

To the right-hand side of a folder, click the icon that says "Delete Folder" when you hover on it.

Note: This will delete the folder and all of the files within this folder.

Once you click the delete icon, a warning modal will appear to tell you that this action cannot be undone.

"WARNING: Are you sure you want to delete 1 file(s)? This cannot be undone."

Click "I understand" to delete this folder and all of the files within this folder, alternatively click "Cancel" to go back.

Deleting A File

Right-click on the name of a file that you'd like to delete, and click "Delete file".

Once you click this, a warning modal will appear to tell you that this action cannot be undone.

"WARNING: This cannot be undone."

Click "I understand" to delete this file, alternatively click "Cancel" to go back.

Related Documents:

Did this answer your question?