Finding source files in Solution (Visual Studio)






4.86/5 (7 votes)
Sometimes we spend a lot of time opening - closing folders trying to find .cpp / .cs / .h files in the Solution
This is a very short tip on how to find a source file in the active Solution in Visual Studio.
We only need to remember the name or part of it. Obvious.
Steps
- Press
[Control + /]
or[Control + D]
(the focus goes to command/search field) - Type
">of "
(you must type the four characters, including space). - Type the
name
of your source file (or prefix). - Move with down cursor -> press
[Enter]
Sample (in Windows C++ project):
[Control + /]>of windows.h[Enter]That's it. Hope it helps to avoid wasting time finding source files.