Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers 2

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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