dart-lang / dart-pad

An online Dart editor with support for console, web, and Flutter apps.
https://dartpad.dev
BSD 3-Clause "New" or "Revised" License
1.72k stars 555 forks source link

Add support for automatically saving most recent snippet to local storage #2871

Open parlough opened 9 months ago

parlough commented 9 months ago

This might be the feature I've seen users miss the most, or at least they noted as not matching their expectations. It also can result in lost progress due to various user or technical errors.

Even a not-super robust solution, with an edit on any tab replacing the previous content, would likely be sufficient here for most use cases.

Bonus: Enable saving multiple snippets. Perhaps save last 10 and allow switching? Could use Gemini to generate title.

Levi-Lesches commented 3 months ago

PR for this at #3037