Skip to content

Tip 5.50: Why the Object Browser has so many commands you can bind to (and how to create a keyboard shortcut to clear the search results)

January 9, 2013

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

Sara Ford’s Blog

Sara Aside

As she has been writing the Object Browser tip series, she has noticed that there are a lot of commands available under Tools–Options–Environment–Keyboard. Just type ObjectBrowser and you’ll see what she means.

VSTip5500

Technically, not all these commands need keyboard shortcuts. For example, the ability to sort objects by access level probably doesn’t need a keyboard shortcut. But since they do have shortcuts, let’s have some fun….

If you bind any of the Object Browser Settings options to a keyboard shortcut, you’ll see that shortcut in the drop-down menu. She didn’t know that until she started playing with this feature.

VSTip5500a

How can you take advantage of this? If you use the Object Browser a lot to search, you might find it meaningful to clear the search via the keyboard shortcut. The command View. ObjectBrowserClearSearch clears the search combo, thus clearing the Object Browser filter.

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: