Skip to content

[FEATURE] Auto-Restore Unsaved Files and Editor State #2

Description

@com3dian

Is your feature request related to a problem? Please describe.
In version 0.0.1, the app does not keep track of unsaved files or their contents, leading to potential data loss if the application crashes or is closed unexpectedly.

Describe the solution you'd like
Implement QSettings to track:

  • Open file paths
  • File content stored on disk
  • Unsaved changes in the editor
    This would allow session restoration upon reopening the app.

Describe alternatives you've considered
An alternative approach is prompting users to save all files before closing. However, this may disrupt the workflow if users prefer automatic session restoration.

Additional context
None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions