Opening files from the VS "Quick find combo"

Ctrl+/ is quickly becoming one of my favorite and most used hotkey in Visual Studio. Pressing it will jump you to the "Quick find Combo" with a ">" already type in for you (which means interpret the text as a VS command).

If you are like me you hate hunting through the Solution Explorer looking for files, especially on large solutions, you might be interested in the Ctrl+/ | ">of " command. 

As Robert Prouse explains:

Here is a cool Visual Studio feature that almost nobody knows about. If you want to open up a file in your solution, but can’t be bothered to dig down through your projects and folders to find it, try this,

  1. Click in the Find box in the toolbar,
  2. Type >of followed by a space, then begin the name of the file you are looking for.
  3. An auto-complete drop down will appear as you type filtering all the files in all your projects in your solution. Continue typing until the list is short enough to fine the one you want. Select it and hit enter.
  4. The file will open in the editor.

openfile

[Quickly Find/Open a File in Visual Studio]

The best part of this auto complete drop down is that it actually gives you a flat list view of all the files in the solution which is just plain cool :)

As if that wasn't enough Aaron Lerch posted The Talented Mr. Edit.GoToFindCombo which lists some other cool features of the "Quick find combo".

3 Comments

Comments have been disabled for this content.