Microsoft/vscode

Discard changes of an Untracked file raise an error if no recycle bin option

Open

#246,259 opened on Apr 10, 2025

View on GitHub
 (0 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
buggithelp wantedteam-low-hanging

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. Set the Recycle Bin option to Delete directly
  2. Try to undo the changes of an untracked file
  3. You'll get an error cause VSCode should put that file into the bin, but with that option set, can't delete the file

Image Image

Contributor guide