Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search through the whole project [closed]

Its a basic question I have a winform project having lots of file. I want to search a keyword through all the files with out opening each file. How can I do it?

like image 908
user1903439 Avatar asked Feb 25 '13 18:02

user1903439


People also ask

How do I search a whole project in Visual Studio?

Visual Studio 17.2 Preview 3 introduces a brand-new All-In-One search experience that merges the existing VS Search (Ctrl + Q) and Go To (Ctrl + T) to allow you to search both your code and Visual Studio features quicker and easier than ever, all in the same place.

How do I search an entire project in Vscode?

Search across files. VS Code allows you to quickly search over all files in the currently opened folder. Press Ctrl+Shift+F and enter your search term. Search results are grouped into files containing the search term, with an indication of the hits in each file and its location.

How do I search all files in Visual Studio?

In Visual Studio 2022 and later, you can set Visual Studio to always keep results. Go to Tools > Options > General > Find and Replace, and select the checkbox for Keep search results by default.

How do I search for a word in Visual Studio solution?

The command executed by Visual Studio search is Window. QuickLaunch and you may see this feature referred to as quick search or quick launch. Unlike other search features such as Find in Files or Search Solution Explorer, search in Visual Studio results include IDE features, menu options, file names, and more.


3 Answers

Ctrl + Shift + F => Type what you want, by default it searches the whole solution.

enter image description here

like image 63
gdoron is supporting Monica Avatar answered Nov 10 '22 05:11

gdoron is supporting Monica


Hit Ctrl+Shift+F for the "Find In Files" dialog, then make sure that "Entire Solution" is set.

enter image description here

like image 30
Bobson Avatar answered Nov 10 '22 03:11

Bobson


On the top of the solution explorer tab there is a search box

like image 45
Anthony Russell Avatar answered Nov 10 '22 05:11

Anthony Russell