Create Files and Folders in UAPP CodeSpace
Choose a CodeSpace Explorer destination, enter a valid name and understand creation, automatic file opening and existing-file behavior.
Use New File or New Folder in the main toolbar or the Explorer header. These open the same creation dialog with the item type already chosen; there is no type selector in the dialog. Demo servers block creation.
Choose the destination first
Click the intended folder in Explorer, or click Home for the account home. CodeSpace uses the selected folder for creation; it does not automatically use the active file's parent. A previously selected folder can remain the destination after opening a file elsewhere.
| Field | Requirement |
|---|---|
| Name | Required single filename or folder name. The API allows up to 255 characters. |
| Location | Read-only account-relative destination. There is no Browse control in this dialog. |
Names cannot be . or .., or contain /, backslash or a null character. Enter a name rather than a path; create nested directories in separate steps.
Create
- Select the intended parent in Explorer.
- Click New File or New Folder.
- Enter Name and inspect Location.
- If Location is wrong, cancel, select the correct folder and reopen the dialog.
- Click Create or press Enter in the Name field.
- Read any inline error and confirm the result in Explorer and Output.
On success, CodeSpace refreshes the destination folder and keeps it selected. New files are opened automatically; new folders are added to the tree. Opening can still fail for a name/type the editor does not support, so check File Studio if needed.
A newly created file starts empty and must be edited and saved separately. For an already-existing file, the shared create-file operation updates its timestamp rather than clearing its contents. Do not use New File as a reset or replacement tool; reusing a name can also make an existing editor tab's timestamp stale.
Creating an item does not register an application route, install dependencies or configure a website. Use File Studio for renaming, moving or deleting files and preserve application references when doing so.