sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
271 stars 14 forks source link

Deleting unstaged files should move them to Trash #1781

Open mitranim opened 1 year ago

mitranim commented 1 year ago

Problem description

It takes only a brief moment of confusion (less than a second) to double-click "delete" instead of "stage" on unstaged files and permanently lose your work, with no way of recovery. Just happened to me.

Worth mentioning that "stage all" has the same confirmation with a red button, so I was expecting to double click in this case, and targeted the wrong button.

Preferred solution

SM should move files to trash instead of completely deleting them.

FichteFoll commented 1 year ago

Duplicate of https://github.com/sublimehq/sublime_merge/issues/153.