Confirm that user wants search for a single character term when using Find in Files
Every few days I wind up accidentally searching my entire codebase for a single character term. Such searches can yield hundreds of thousands of results, and Visual Studio can become unresponsive for minutes.
It would be great if Visual Studio could confirm that you want to search for single character terms when using Find in Files.
A method for limiting the maximum number of search results would also work.
Thanks for taking the time to share this suggestion. This item has been around for a couple of versions of Visual Studio and we haven’t acted on it. Looking at the VS “15” plans, we’re not going to take action on this item, so we’re going to close it. If the suggestion is still relevant, please either take a look to see if there’s another suggestion that’s similar that you can vote on, or open a new suggestion.
- The Visual Studio Team
1. Enter some text in the search box in the VS ribbon
2. Click on the Find and Replace button in the ribbon
3. VS should use the just entered text in the search box and not take whatever is under the cursor in the source code window.
Text searching all cs, xaml, sln and csproj files is much faster and accurate when you have multiple solutions and xaml. Find all references does not search xaml. Text searching finds commented out code text embedded in strings, etc....