> ## Documentation Index
> Fetch the complete documentation index at: https://docs.peachjam.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Browse and edit project code

> Browse source files, preview supported assets, and edit project code in PeachJam.

> Open **Code** in a project to inspect the source that builds your app.

> Status: Limited. PeachJam supports the core browse, preview, tab, and paid editing flow. The limits on this page still apply.

## Browse project source

The file tree shows project folders and file-type icons. Use **Search code** to filter by file name. Select a file to open it in a tab.

You can:

- keep several files open
- drag tabs to reorder them
- close active and inactive tabs
- scroll long tab lists horizontally
- copy a file path
- download a file

Each open text file keeps its draft when you switch tabs.

## Preview files

PeachJam shows syntax-highlighted source for text files. Markdown files can switch between source and rendered preview.

The Code view also previews these browser-safe image formats when the file is no larger than 10 MiB:

- PNG
- JPEG
- WebP
- GIF
- AVIF

Other binary files show a clear read-only state. PeachJam does not download an unsupported or oversized file just to show that state.

## Edit on a paid plan

Paid workspaces can edit existing UTF-8 text files that are no larger than 10 MiB. Free workspaces can browse source and see an upgrade action.

Use **Save**, <kbd>Control</kbd>+<kbd>S</kbd>, or <kbd>Command</kbd>+<kbd>S</kbd> to save every open draft in one change. Use **Discard** to restore the active file to its last loaded version. PeachJam warns before it closes a dirty tab or leaves the Code view.

A save creates one commit in the project's internal Git source. PeachJam applies the same file changes to the live project sandbox, starts a durable preview build, and updates a linked Git repository. You can keep editing while the preview build runs.

If the source changed after you opened the file, PeachJam keeps your draft and asks you to reload before you save again. This prevents one editor from silently overwriting a newer change.

## Current limits

- You can edit existing files. Creating, renaming, moving, and deleting source files are not available in the Code view yet.
- Search filters file names. It does not search file contents yet.
- Binary files and files larger than 10 MiB are read-only.
- HEIC images use the read-only fallback because common web browsers cannot display them directly.
