Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know… Use the Ctrl+D window to run Visual Studio commands

In both Visual Studio .NET 2003 and Visual Studio 2005, you can navigate to the find combo box (aka the Ctrl+D Window) on the standard toolbar and run commands.  

 

To use

  1. Press Ctrl+D anywhere in Visual Studio.  Note: The command to reach the find combo box is Edit.GoToFindCombo, in case it has been bound to something else in your VS configuration.
  2. Press ‘>’ in the Find combo box
  3. Type any command and press Enter, ie ">File.NewFile" will open the new file dialog.  Also note how intellisense works (in either VS edition)

Happy Editing!

 

Posted: Wednesday, March 16, 2005 2:44 PM by saraford

Comments

Charles Srisuwananukorn said:

Thanks for the hint. By the way, commands can also be run from the find combo box by typing Ctrl+/ (which runs the Tools.GoToCommandLine command). This essentially does the same thing as Ctrl+D, but it automatically populates the '>' in step 2 above. This works in both Visual Studio .NET 2003 and Visual Studio 2005.
# March 16, 2005 3:59 PM

saraford said:

Good catch! I forgot to mention the Tools.GoToCommandLine command in this hint.
# March 16, 2005 4:05 PM

Ed said:

In VS2003, watch out if you Ctrl-Tab while focus is on the Ctrl-D search window. Instead of going to the next file like it did in VC6, it ends up cycling though toolbar icons, yuck.
# March 22, 2005 6:32 PM
New Comments to this post are disabled
Page view tracker