Editor & files

Replace across files, format on save and the file timeline

Replace text in every file with a preview and one-click undo, format with Prettier when you save, follow your project's .editorconfig, and go back in time with the Timeline.

2 min readUpdated 4 Oct 2026

Replace across the project

Open Search (Ctrl+Shift+F), type what to find, then open the replace box. You can match case, whole words or a regular expression, and limit the search to some files (src/**) or leave some out (*.test.ts). Before anything changes you see every match in every file and can untick the ones to keep.

Replace changes all the files at once. A checkpoint is taken first, so the toast's Undo puts every file back exactly as it was — unless someone has edited one of them since, in which case KODEO tells you which. Files open in a live session are changed through the session, so teammates see it happen and nothing they typed is lost. Viewers can search but not replace.

Formatting

Alt+Shift+F formats the file with Prettier (JavaScript, TypeScript, JSON, CSS, HTML, Markdown, YAML and more). Turn on Editor settings → Format on save to do it every time you save.

KODEO follows the project's own settings: .editorconfig (indent style and size, line endings, final newline, trailing whitespace) and Prettier's config (.prettierrc, .prettierrc.json, prettier.config.json, or prettier in package.json). They're read, never run — a JavaScript config file is ignored. Formatting changes only the lines that need it, so your cursor and your teammates' cursors stay put.

The Timeline

Alt+Shift+H opens the Timeline of the file you're in: the snapshots this browser kept while you worked, the room's checkpoints and the file's commits, newest first. Pick one to compare it with what's on screen, then Restore if you want it back (a restore is itself a snapshot, so you can change your mind).

Snapshots are taken when you save and every few minutes while you type. They stay in this browser only — never uploaded, never counted against storage — for seven days, fifty per file.

Files that aren't code

Images open in a viewer you can zoom (scroll or pinch) and drag; PDFs, audio and video play in the editor. Markdown and SVG files have Code, Split and Preview buttons above them — a README opens as a preview. Very large text files open read-only first, with a button to edit them anyway.

Still have a question about this?

Assist answers from this article — in any language.

More in Editor & files