Excluding specific files from Visual Studio search

In Visual Studio 2019 they modernized the "find in files" feature, now you can exclude files, file extensions and directories using an exclamation mark before the items to be excluded in the "File types" textbox, like this:

*.*;!jquery.js

another example: !*\bin\*;!*\obj\*;!*\.*;!*.xml

More info: https://devblogs.microsoft.com/visualstudio/modernizing-find-in-files/


Altough it does not solve your problem it may help out a bit

Ctrl + Shift + F should trigger the Find and Replace window.

From there, click Result Options and select "Display file names only".

It won't have all the info you need but might make it easier to recognize the files.