microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.76k stars 29.47k forks source link

Search & Replace exclude deleted files by default #164929

Open rosyatrandom opened 2 years ago

rosyatrandom commented 2 years ago

Problem:

This means you can easily accidentally add F to branch B if you're not paying attention

Solution:

Search & Replace should exclude deleted files by default, so they do not appear in the list of matches

paulrudy commented 1 month ago

At the risk of not providing any new useful information: I just encountered this exact situation today. Adding a default or at least a setting to avoid this behavior would be helpful.