Steps to Reproduce:
Also it was reproducible with previous versions.
@apalchys there can be many reasons why moving to trash does not work (e.g. you are on a SUBST drive, or mounted network). The bug that deleting permanently fails is fixed for our current release. You can try it from our insiders release: http://code.visualstudio.com/Download#insiders
@bpasero Confirm. it is fixed in 0.10.13-insider. Thanks.
I always use VS Code in a Linux VM (in VirtualBox) against a shared folder that's mounted under /media/. VS Code's Delete command always prompts for whether I want to Move To Trash, but then it always fails to move it to the trash presumably because the file was on a mounted folder/drive. So then I have to click the Delete Permanently option. It sure would be nice if VS Code was smart enough to detect that the file was on a mounted folder/drive and just prompt for "Delete Permanently" instead of "Move To Trash". It would save me a click every time I delete a file, which has happened a lot lately.
Is it possible to turn off the trash feature and always force delete file?
Same story on Windows 10.0.143.93
Very annoying.
The problem still exists.
Version 1.15.1
I am facing the same issue. I cannot rename or delete folder. Vs code blocking this operation by itself. Only closing vs code helps. Also i have tried running app as administrator - no luck
IMHO VS Code should warn by default when it cannot move a file to recycle bin. But there should be an option to override this warning - perhaps even per workspace; so it gets less annoying for those Users that know what they do.
Most helpful comment
Is it possible to turn off the trash feature and always force delete file?
Same story on Windows 10.0.143.93
Very annoying.