How to search for file names in Visual Studio?

Viewed 216483

In Eclipse you can search for a file in the project by pressing CTRL-SHIFT-R.

Is there a way to do this in Visual Studio?

20 Answers

The best option now is to install Microsoft Visual Studio add on called Productivity Power Tools (VS 2010 version, VS 2013 version).

With this comes "Solution Navigator" (alternative to Solution Explorer, with a lot of benefits).

search solution navigator

BTW, this feature is built-in into Visual Studio 2012.

Easily hit CTRL+SHIFT+T . This will look in the files' names.

CTRL + P this searches for the file name your direct answer.

Visual Studio for Mac 2017 7.x.x

To search by File name:

  • ⌘ + .
  • Ctrl + Shift + D

To search by Type name:

  • Ctrl + Shift + T

Your keyboard focus might have been gone to following Right side Top corner of the Visual Studio Window:

enter image description here

You can press ctrl+t to get a editor Get to all , in which you can type the file name to navigate to that specific file.

Is too simple by using the Windows Explorer search inside the project folder. Done.

With Visual Studio 2017 Community edition on mac, the shortcut is:

  • Cmd+Shift+D: Find by file name
  • Cmd+Shift+T: Find by type name

To see these commands, navigate to the top menu: Search > Go To

Visual Studio 2019:

Menu -> Preferences -> Key Bindings -> Navigate To...

Related