Skip to content

Code editor: auto-save + auto-refresh external file changes (VS Code-like behavior) #10208

@diastidean

Description

@diastidean

Problem

Warp's code editor does not currently auto-save edited files or auto-refresh open files when those files change on disk.

For workflows where files are edited by external tools (formatters, generators, git operations, etc.), this creates friction versus editors like VS Code.

Current behavior

  • File saves are manual only.
  • External on-disk updates are not always auto-reflected based on a user-configurable setting.

Requested behavior

Add editor settings for:

  1. Auto-save mode

    • off
    • after_delay
    • on_focus_change
    • after_delay_and_focus_change
  2. Auto-refresh files changed on disk

    • boolean toggle to automatically refresh open files when external file changes are detected.

UX / Settings placement

  • Expose controls in Settings → Code under editor/code-review section.
  • Auto-save should behave similarly to VS Code expectations:
    • debounce for delay-based save
    • focus-change trigger when configured
    • avoid noisy manual-save toasts for auto-save events

Why this matters

  • Reduces friction for users coming from other editors.
  • Prevents stale editor state when external processes modify files.
  • Improves reliability for agent-assisted and tool-assisted coding workflows.

Notes

I already have a local implementation prototype ready and can contribute it once this issue is triaged through Warp's feature/spec process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:editor-notebooksEditors, notebooks, markdown rendering, LSP, and code display.area:settings-keybindingsSettings UI, preferences, keybindings, and keyboard-shortcut management.duplicateThis issue or pull request already exists.enhancementNew feature or request.repro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions