Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Option to persist unsaved notes like Notepad++ session recovery Allow untitled files to auto-save and reopen on startup

Open sanathusk opened this issue 1 month ago • 5 comments

What problem would this solve?

Currently, when auto-save is enabled, Markpad forces users to save untitled/unsaved files before closing the application. This creates friction when I want to quickly jot down notes and exit without committing to a file location. Notepad++ handles this elegantly—users can close the app without being prompted for unsaved untitled files, and those notes are automatically recovered on the next launch. I'd like Markpad to provide similar behavior to enable faster, more frictionless note-taking workflows.

What would you like?

Implement a setting that allows Markpad to:

Auto-save untitled files to a default directory (e.g., ~/.markpad/untitled) when auto-save is enabled Close/exit without prompts — users can close the app without being forced to save untitled files Auto-restore previous sessions — Markpad remembers and automatically reopens tabs from the last session on startup Optional access to untitled notes — provide a menu option or sidebar to browse the ~/.markpad/untitled folder, or allow users to promote an untitled note to a permanent saved file This approach would let me:

Open Markpad and start taking notes with minimal clicks Exit quickly without friction when I'm done Recover previous session notes automatically on next launch Still have full control over which temporary notes to keep

Has another app got this right?

Yes — Notepad++ implements this behavior perfectly:

Untitled/unsaved files can be closed without prompts when auto-recovery is enabled The app reopens with the same tabs from the previous session Users can save notes permanently whenever they choose, but aren't forced to do so just to exit

Which platform is this for?

All platforms

Your Markpad version and how you installed it

No response

sanathusk avatar Oct 10 '26 16:10 sanathusk

#962 implements this as an opt-in "Persist open editors" setting: untitled and modified tabs are kept on close without the save prompt and restored on next launch.

PathGao avatar Oct 13 '26 17:10 PathGao

2. #962 implements this as an opt-in "Persist open editors" setting: untitled and modified tabs are kept on close without the save prompt and restored on next launch.

@PathGao Thanks so much for this!! Keeping my fingers crossed, waiting for the PR to merge so I can try it out

sanathusk avatar Oct 14 '26 06:10 sanathusk

#962 is merged and will ship in the next release. Unsaved and untitled tabs are kept when you quit or close the last window, with no save prompt, and come back on the next launch. It's on by default under Settings → Files → Keep unsaved changes on close.

PathGao avatar Oct 20 '26 13:10 PathGao

This is in 2.9.0: https://github.com/sftwrdotdev/Markpad/releases/tag/v2.9.0. Untitled and modified tabs are kept when you quit, with no save prompt, and reopen on the next launch. It is on by default, under Settings → Files → "Restore unsaved changes on launch".

PathGao avatar Oct 29 '26 03:10 PathGao

Thank you @PathGao , will give this atry today.

sanathusk avatar Oct 29 '26 08:10 sanathusk