Reputation: 36064
Is there a key shortcut in Visual Studio to find & open a file inside your solution without using Resharper or any other tools?
Upvotes: 81
Views: 69737
Reputation: 11
Options => Projects and Solutions => Track Active Item in Solution Explorer
Upvotes: 0
Reputation: 11941
The accepted solution doesn't work on the newer versions.
For Visual Studio 2022, and 2019, 2017 do the following:
Update 1:
Now, pressing Ctrl + Shift + T and typing the file name works!
Update 2:
Since Visual Studio 2019 now it's possible to do a similar search via Ctrl + Q.
But it works slightly sloppy since it shows VS-related stuff as well.
Original answer:
Notes:
f
to make VS search only on files. We can
also, use other letters. For more info type ?
in the "Go to" popup.Upvotes: 146
Reputation: 281875
This answer is outdated; see here for latest information.
You need the Find box in the toolbar for this to work.
(If you change your mind about addins, SonicFileFinder is for this very purpose, and free.)
Upvotes: 15
Reputation: 3025
Similar to Just Shadow's answer I discover that, on Visual Studio 2017, you can do the following:
Press Ctrl + 1, then f
Or you could go to Tools -> Options -> Keyboard
and change the shortcut of Edit.GoToFile
for whatever you like.
I replaced mine with: Ctrl + O
Upvotes: 9
Reputation: 56779
You can also use Ctrl + /, which puts the >
in place for you automatically.
Upvotes: 11