microsoft / microsoft/vscode-remote-release

Support trash in dev containers

Open
#11,270 3 comments 19 reactions 1 assignee View on GitHub

@lramos15 is already working on this.

Since Oct 22, 2025.

containers feature-request
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

The action "Delete" in the File Explorer's context menu becomes "Delete Permanently" when working inside a dev container.

So, in a dev container, deleted files aren't sent to the trash, but directly deleted permanently.

I would like to be able to use a trash inside a dev container.

I have installed trash-cli inside the container, so I can manually send files to the trash and restore them with the commands trash, trash-list, trash-restore, etc. However, VS Code doesn't detect it, or doesn't have the capability to use it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.