Edit a file
1
Open Code
Switch the right side of the workspace to Code. The file tree shows the files available in the current project.
2
Choose a file
Select a text file to open it in the editor. Binary files can be viewed in the tree but cannot be edited as text.
3
Make the change
Type in the editor. A dot beside the filename marks it as having unsaved changes.
4
Save explicitly
Select Save or press Ctrl+S (Cmd+S on Mac). For supported file types, Mythos formats the saved text and returns the formatted result to the editor.
5
Check Preview
Return to Preview and verify the page or behavior you changed. A successful save becomes a new entry in Version history.
Save or discard a draft
The Save button becomes available when the current file has unsaved changes. Select Discard to return that file to its last saved contents. If saving fails, Mythos keeps the draft in the editor and shows Save failed. Fix the reported problem or try Save again. Closing or reloading the browser with unsaved files triggers a warning, but you should still save important work before leaving.Good to know
- Directly saving a file does not start an AI Build.
- The editor keeps a separate undo history and cursor position for each file while you work.
- One file is active at a time; there is no multi-tab code view.
- Some project setup files are protected. Edit application code instead, or ask Mythos to make a broader change.
- Editing is locked while you preview an earlier version. Return to the latest version first.
- The full editor is intended for a desktop browser. On a small screen, Mythos asks you to continue on desktop.
Troubleshooting
Related
- Building and editing — ask Mythos to change the project.
- Version history — preview or restore an earlier saved result.
