Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / shortcut

Finding source files in Solution (Visual Studio)

4.86/5 (7 votes)
2 Apr 2011CPOL 26.9K  
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



  1. Press [Control + /] or [Control + D] (the focus goes to command/search field)
  2. Type ">of " (you must type the four characters, including space).
  3. Type the name of your source file (or prefix).
  4. Move with down cursor -> press [Enter]
  5. Sample (in Windows C++ project):
    [Control + /]>of windows.h[Enter]


    That's it.
    Hope it helps to avoid wasting time finding source files.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)