atom/atom-shell — pull request #452 by marksamman (2014-07-02 02:02:58+00:00)
Title: Move item to trash without confirming on Windows

This will skip the "Are you sure you want to move this file to the Recycle Bin?" dialog on Windows.

I was testing Atom on Windows, and the editor froze when I tried to move a file to trash. After debugging this issue, I noticed that it was stuck on shell.moveItemToTrash and that a Windows confirm dialog had appeared behind the Atom window. Since Atom already asks the user to confirm the action I assume it should be fine to have MoveItemToTrash silently move the file to trash without additional confirmations.