Code Editor

The code editor is where you view and manage the files in your workspace. It sits alongside the chat panel so you can see the agent's changes as they happen.

File tree

The file tree on the left shows all files and folders in your workspace. Right-click to create new files, create folders, rename, delete, or copy file paths. You can drag and drop files and folders to move them around.

Files the agent has created during the current session are highlighted in green. Modified files are highlighted in yellow.

Editing files

Click any file to open it in the editor. The editor supports syntax highlighting for all common infrastructure and programming languages including HCL, YAML, JSON, Python, TypeScript, JavaScript, Go, Shell, and Markdown.

You can have multiple files open at once using tabs. Each tab shows a dot indicator if the file has unsaved changes. Save with Cmd+S (or Ctrl+S).

Markdown and Mermaid files can be previewed side-by-side with a live preview toggle.

Watching the agent work

When the agent generates or modifies files, you can see the changes appear in real time. Each changed file shows a diff with lines added and removed. You can accept or reject changes on a per-file basis, or accept or reject all changes at once.

The peek panel at the bottom shows all files the agent has changed, with a count of lines added and removed for each. Click any file to see its full diff.

Use Cmd+Shift+F (or Ctrl+Shift+F) to search across all files in the workspace. Results show matching files and content with line numbers. Click a result to jump directly to that line in the file.

File management

  • Create new files and folders from the right-click menu or the file tree header
  • Rename files and folders inline from the right-click menu
  • Move files and folders by dragging and dropping in the file tree
  • Delete files and folders from the right-click menu with a confirmation step
  • Download the entire workspace as a ZIP file from the editor menu