Add "exclude files" to the "Look in" options under Find and Replace
Add "exclude files" to the "Look in" options under Find and Replace. There are times when certain files are always going to be impertinent to search for, and it would be nice to know that search will not be bogged down by those files.
It's actually kind of surprising that it's not in there already.
This feature would improve productivity significantly
Please please get this done.
Searching a project where you have matches in resx or other resource files is a nightmare
YES Please add this functionality
I SO agree. This feature would be used EVER DAY
6 years ... this is just awesome
I hope that VS team will give us that incredible feature!
As this idea just had its 6th birthday, it would be great if someone from the VS team could comment one way or the other on this.
My Use Case. I have a "Look in" set of directories that is all of my source. When searching it looks through my .git and .svn directories. I would like to be able to specify specify regexes that describe the set of files to be ignored during a search
Sahil Singh commented
It gets very hard to search for files, when some files pollute the entire search result.
Absolutely for that. For example if you have trillions of auto-generated files like T4MVC the file search always duplicates everything and it opens the wrong file.
That feature would be very smart!!!
I really really hate it when you're looking for something that appears a zillion times in the huge edmx file! I would so like to be able to skip that file (or 1 or more specific file extensions)
Dave Lennert commented
I'd like to exclude folders as well as individual file patterns.
Jeff G at GTP commented
yes, excluding all *.min.js in the lib folder would be great.
Dan Puza commented
Find In Files locks up all the time due to tons of noise results on certain minified .js files...!!
Tim Nipper commented
Chris A commented
hahaha... Sorry Christopher... My bad...
I just realised that was your suggestion of how to implement it, rather than trying to tell people that this functionality already existed.
Chris A commented
Thanks for the suggestion, but... it doesn't work for me...?
Look In: Entire Solution
Look at these file types: *.js; -app_all.js
still returns results from the app_all.js file.
(tried with the space and without it)
(Visual Studio 2015 Professional on 64 bit Windows 10 Pro)
Does this require a specific version of Visual Studio, or a plugin/etc?