Skip to content

Auto-save for Editor Files #11

@GowsiSM

Description

@GowsiSM

Files require manual saving (Ctrl+S), increasing the risk of data loss if the browser crashes, refreshes, or user forgets to save. Auto-save would prevent accidental loss of user work.

Files to Update:
src/components/CodeEditor.tsx
src/stores/useEditorStore.ts

Expected Changes:
Auto-save after 2-3 seconds of inactivity
Show visual indicator when auto-saving (subtle badge/icon)
Preserve existing manual save shortcuts (Ctrl+S)
Debounce saves to avoid excessive operations
Don't auto-save during active code execution

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions