Cohensius
Cohensius

Reputation: 545

Visual studio: How to search for text in a sub folder of a solution

I wish to find all occurrences of a certain code in a sub-folder of a solution.

For example, find all "return 0" in folder X.

So far I used Ctrl+t which search anywhere in the solution which isn't good for my propose.

Upvotes: 1

Views: 232

Answers (1)

Steve Tighe
Steve Tighe

Reputation: 96

Go to "Find in files" (e.g. by pressing Ctrl+Shift+F), then look in: "Entire solution" or specify the folder path.

Upvotes: 2

Related Questions