don't overwrite existing files - use them or backup them
- Dominant language
- JavaScript
- Stars
- 196
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
yesterday i wrote quite a long text. today i wanted to finish the writing but pressing edit again, truncated the existing file to zero.
my editor was configured to automatically reload changed files. having my editor open on the 2nd screen, i watched my text disappearing.
the request is similar to https://github.com/docwhat/itsalltext/issues/24
please add some kind of safety machanism for such a thing, its . if pressing edit and its all text notices a file with this hash allready exists, it should use the existing one (i can easily ctrl+a, ctrl+x to clean everything but i can't press ctrl+... to get my text back) or at least move the existing one to .bak (or something like that).
edit:
https://github.com/docwhat/itsalltext/issues/14
> http://docwhat.org/files/iat/revisit.html?
> Right-Click on the edit button. Choose the option “Edit using previous '.txt' file”
> The phrase "visit 1" should be in your editor.
i have no “Edit using previous '.txt' file” menu entry but the behavior of using previous should be default or at least configurable
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.