Click here to Skip to main content
15,860,861 members
Articles / Shortcut
Tip/Trick

Finding source files in Solution (Visual Studio)

Rate me:
Please Sign up or sign in to vote.
4.86/5 (7 votes)
2 Apr 2011CPOL 25.9K   2   6
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)


Written By
Software Developer (Senior) Freelancer
Spain Spain
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralReason for my vote of 5 It is very useful top. Pin
HiDecky-Mutoh4-Apr-11 23:44
HiDecky-Mutoh4-Apr-11 23:44 
GeneralTechnical backbone of this tip Pin
HiDecky-Mutoh5-Apr-11 0:08
HiDecky-Mutoh5-Apr-11 0:08 
GeneralSonic File Finder Pin
Riz Thon4-Apr-11 18:18
Riz Thon4-Apr-11 18:18 
QuestionIntro? Pin
Henry Minute31-Mar-11 0:44
Henry Minute31-Mar-11 0:44 
AnswerRe: Intro? Pin
Jose David Pujo31-Mar-11 0:49
Jose David Pujo31-Mar-11 0:49 
GeneralRe: Intro? Pin
Henry Minute31-Mar-11 1:17
Henry Minute31-Mar-11 1:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.