Skip to content

Code editor

Your Genesis site is a real codebase, and you can open it any time from the toolbar’s ⋯ → Code editor. You never have to touch code — but it’s there when you want it.

Opening the editor splits the workspace: live preview on top, code below, with a drag handle between them to adjust the split. The editor’s own buttons switch it to Full screen (Esc to exit) or close it.

  • Explorer on the left — browse and open any file in your project. Filter files by name, and use the buttons for New File, New Folder, Collapse All and Refresh. Right-click a file for Rename, Duplicate, Copy Path, Copy Name and Delete.
  • Tabs across the top — every file you’ve opened. Right-click a tab for Close, Close Others, Close to the Right, Close All, Copy Path and Reveal in Tree.
  • Editor in the center — full syntax highlighting, autocomplete, error underlines, find & replace. It’s the same editor engine as VS Code, so the shortcuts you know work.
  • Unsaved files show a dot until you save.

Save a file and the preview updates with your change.

ShortcutWhat it does
⌘S / Ctrl+SSave the file
⌘P / Ctrl+PQuick open — go to a file by name
⌘⇧P / Ctrl+Shift+PEditor commands
⌘W / Ctrl+WClose the tab
Shift+Alt+FFormat the file
F2Rename the selected file
DelDelete the selected file

Saving doesn’t reformat your code; run Shift+Alt+F when you want it formatted.

The fastest way in: select an element in the preview and click Open in code editor in the element’s panel header. The editor opens right at that element’s source.

  • Inspecting what the AI actually built.
  • Surgical text/value tweaks when you know exactly what to change.
  • Pasting in something specific — an exact embed snippet, precise CSS.