Skip to content

Tip 6.16: How to have fun with the Find combo box

May 18, 2012

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

Sara Aside

She learned from her test cases that you can run commands via the Find combo box. But, when she found Shawn Farkas’s blog (http://blogs.msdn.com/shawnfa), it took what she knew about the Find combo box to a whole new level.

Following are some examples of commands you can run from the Find combo box, but the idea is that many Visual Studio commands take parameters that you can enter into the Find combo box. Hit the keyboard shortcut to a Visual Studio command, and the command will pull its parameters from the Find combo box.

Press Ctrl+D to go to the Find combo box. Now here are a few ways you can have some fun:

  • Go to a line Type the line number, and press Ctrl+G. She likes showing this off as how you can do a “go to line” without popping up the Go To dialog box.
  • Go to a file Type the name of the file (either in your project or on the INCLUDE path), and press Ctrl+Shift+G.
  • Get help Type the keyword, and press F1.

You can also use command aliases, as shown here:

You can read Shawn’s full blog post at http://blogs.msdn.com/shawnfa/archive/2004/02/27/81338.aspx.

Happy Programming! =)

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: