Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 - Search Everywhere

In Visual Studio is there a "Search Everywhere" shortcut (like Resharpers "Search Everywhere")?

I'd prefer to not install Resharper for this, but how can a search everywhere be done in Visual Studio?

like image 832
Kellen Stuart Avatar asked May 22 '19 16:05

Kellen Stuart


People also ask

How do I search everywhere 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 Visual Studio?

Find in Files (Ctrl+Shift+F): A more robust option, Find in Files is better for searching entire projects or solutions. Unlike Quick Find, Find in Files can list search results in the Find Results window and has additional options to specify which file extensions to search.

How do I search for a class in Visual Studio?

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.


1 Answers

I use the Navigate To (Edit-GotoAll in VS) command which is CTRL - , (comma) or CTRL - T which can search for types/files and other info based on the name.

See Visual Studio Tip #3: Use “Navigate To”


Otherwise a more limited and historical way of searching all is CTRL-F which is find all that they based Navigate To on.


Navigate To hidden feature

The best kept secret is to search using casing. It is done by typing in just the capitals of the class you search. Example typing "RFC" would then find the constructor of the class which had that pascal casing of RolandsFirstClass(); quite handy.

Key Mappings Do Not Work for Navigate To

Note if you are here about the "Navigate To" feature (actually Edit.GotoAll) and CTRL, (Comma) or CTRLT is not working, I have a visual answer to set/fix the keystrokes here:

Fix Navigate To Missing KeyMappings

Filtering Out files for Navigate To/Edit Goto All

Visual Studio (Go to All) - How to ignore bin and obj folders

like image 164
ΩmegaMan Avatar answered Sep 19 '22 11:09

ΩmegaMan