Update on 2018-07-25
OS: Arch linux Desktop: i3 188.8.131.52 VScode version: 1.25.1
VScode base on electron, electron will call
gvfs-trash to move file to trash.
If you type
gvfs-trash in commandline , you may got this problem:
This tool has been deprecated, use 'gio trash' instead. See 'gio help trash' for more info.
add this to you environment:
Linux: Unable to move file to trash upon delete (#13189)
Following method not work in i3
Desktop :Gnome 3.28.2 VScode version: 1.24.1
When I want to delete file from explorer in vscode, following Error occurs:
Failed to delete using the Trash. Do you want to permanently delete instead?
gvfs-trash not work properly. It has been deprecated in this gnome version.
So open shell, install another tool for help.
## need python installed sudo easy_install trash-cli
Failed to delete using Trash in Ubuntu 18.04 (#49675) Moving files to trash always fails in Kubuntu 16.04 (#22820)