Editor & languages

Write, save and recover

Frequent autosave, local history, disk conflicts and code navigation.

In this guideAvailable for freeHow autosave worksFind an earlier versionNavigate without losing your placeKeep a draft when saving conflictsCreate, rename and move filesUTF-8, line endings and files that cannot be edited as text

Available for free#

Editing, saving, autosave, drafts and local history are free, even without an account. Formatting, semantic rename and refactoring are Premium tools; their availability does not limit ordinary file saving.

The Code Weaver editor with a TypeScript project.Code Weaver · Windows

How autosave works#

The editor saves after about half a second of inactivity, and at most every 1.5 seconds while you keep typing. Automatic behavior can be adjusted or disabled in settings. Ctrl+S remains available to save the current file.

Saving checks that the disk file is still the version the editor read. If another program changes it while you have local edits, Code Weaver preserves your buffer and suspends autosave for that file. Reconcile the versions or explicitly choose to reload from disk.

Find an earlier version#

Local history is separate from commit history. Drafts recovered after a restart are retained; if they diverge from the file, autosave stays suspended until you decide how to proceed.

  1. Open Source explorer → Local history.
  2. Select a file and a saved version, including a file that has been deleted.
  3. Compare the historical and current versions before choosing Restore.
  4. If there are open edits or later disk changes, resolve the requested choice rather than overwriting them.

Navigate without losing your place#

Use search, symbols and definitions to move through a project. Language servers add semantic navigation and diagnostics where supported. When unavailable, parts of navigation fall back to local source search. Formatting and refactoring are covered in the language-tooling guide and require Premium.

KeysAction
Ctrl+GGo to line or line:column
Ctrl+Shift+OFile symbols
F12Go to definition
Ctrl+Shift+SSave all

Keep a draft when saving conflicts#

In the local build, Saving paused means the file changed on disk. Your open text stays in the editor and autosave stops for that file, including when the conflict appears after Ctrl+S. Copy and reload are local actions available without an account, Premium or AI.

  1. Return to the named file tab. If another panel covers the editor, choose Review file in the notice.
  2. Choose Copy draft to copy the current text. Paste it into a new file at an unused path and save it before reloading the original. The clipboard alone is not a backup.
  3. To adopt the disk version, choose Reload from disk… and read the confirmation. Discard and reload replaces open edits; Cancel keeps the tab without resolving the conflict.
  4. Read both the original file and the saved copy before closing them. Copying the draft does not unblock saving. If copying or reloading fails, keep the tab open and check the message.

Create, rename and move files#

Ordinary local file operations remain free. Paths are relative to the chosen working folder; a move destination’s parent must exist and the target must be unoccupied. Save or close affected file drafts before changing their paths.

  1. In the source explorer, open the folder’s context menu. Choose New file or New folder, enter New item path and choose Create file or Create folder.
  2. For an exercise, create src/hello.mjs inside an existing src folder, open it, write test text and save with Ctrl+S. Close and reopen the file to read its contents again.
  3. On the saved file, choose Rename or Move…, enter New path and name or Destination path, then choose Preview.
  4. Check the source, destination and affected paths before confirming the action. Duplicate… uses the same destination check and preserves the original.

UTF-8, line endings and files that cannot be edited as text#

The text editor reads UTF-8, detects the UTF-8 BOM and distinguishes LF from CRLF. Check project or file conventions before changing line endings: an explicit preference or .editorconfig may impose a choice.

The editor rejects content detected as binary, invalid UTF-8 and files exceeding the configured limit. Do not convert or overwrite the file to bypass the rejection.

In the local build, binary and oversized files show a notice with the filename. The actual limit uses readable units, for example 2 MiB when that is the workspace configuration; it is not the same limit for every profile. Show in explorer reveals the path in the internal tree without opening its content; Dismiss notification closes this notice. An encoding or access error remains a separate problem.

With Premium, File studio offers progressive log reading and encoding tools with previews; this is not the same as loading every file in the text editor. An external change while a draft exists requires comparing versions first: retain the text you need and explicitly choose how to reconcile.

Syntactically invalid JSON can still be valid UTF-8 text. The JSON viewer reports the parsing error: open the source, correct syntax in the test copy, save and reread the file in the viewer. This differs from rejection of non-UTF-8 bytes or binary content.

Open original image ↗