-
Notifications
You must be signed in to change notification settings - Fork 28.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow files deleted in VS Code to be "put back" on macOS #86964
Comments
I can reproduce. I suspect an issue with Electron not implementing the |
As far as I understand, VSCode 1.41.0 uses electron v6.1.5. On macOS It looks like this could potentially be a MacOS bug with trashItemAtURL electron/electron#2001 references this problem, and a comment states that this could be a MacOS bug. That comment also references sindresorhus/macos-trash#4 |
Yikes. Have you informed Apple about it? |
The deleted files don't even appear on my system! (10.15.2) |
This comment has been minimized.
This comment has been minimized.
It is tracked as a bug in the trashItemAtURL implementation which is what Electron also uses for the relevant api exposed to apps, more context in sindresorhus/macos-trash#4. |
Any updates? |
this happened to me |
Same problem with Visual Studio 2022 for Mac. |
Closing since this a bug in the macOS API and is not actionable in the foreseeable future. |
Right now if you delete a file (eg. using Right-clickDelete) and then go to that file in the trash, there is no Put Back option.
Whereas if you delete a file anywhere else in macOS (eg. using Right-clickMove to Trash) and then find it in the trash, you'll be able to select Put Back and have it return to where it was. This is helpful when you accidentally delete something and want to restore it.
Is it possible for VS Code to support this?
The text was updated successfully, but these errors were encountered: