Is there a way to search only a subset of folders in visual studio? I would like to find all instances of

console.log in my code. But, I don't want to search 3rd party *.js files.

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

I'm not sure of Visual Studio, but I always keep a copy of Notepad++ handy when searching for something in multiple files. Are your 3rd party javascripts all contained in a vendor folder or something? If you're not doing tier 3 development, move the javascript folder off to your desktop or something, perform the search/replace and then move the folder back.

link|improve this answer
feedback

In notepad++ you must open all files. An alternative would be Windows Grep (http://www.wingrep.com/) You can replace in all files in a subset of extension using regular expression.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.