Toolbox searching in Visual Studio 2010

As I continue to use Visual Studio 2010 I still find innovative helpers that Microsoft has added along the way.

One of these is the search function within the toolbox. As VS2010 has more controls than ever it can be harder to find things. Just look at my toolbox which has some add-on controls installed as well as the defaults. I have many categories and each one has loads of controls. Finding the control I need used to mean rummaging through each category.

Toolbox

Microsoft has come up with a plan to fix this. They now allow for typeahead keyboard searching within the toolbox which is a definite time saver.

To do this yourself put the cursor focus in the toolbox. As you type your keystrokes get logged on the main status bar of Visual Studio. As the list gets narrowed down you might get multiple selections with the same values. If you do you can use the up and arrows OR the tab key to navigate between them. Once you have the desired control highlighted just hit the Enter key to add the control to your page. (Be sure to place your cursor in the desired location first!)

You can also cancel the search by hitting the Esc key or by moving out of the toolbox. You can also use the Backspace key to correct any typos. If there no controls matching your input then a message is displayed.

Typeahead

Advertisements

About Ken Cenerelli
I am a Programmer Writer, .NET Developer, Microsoft MVP - Visual Studio and Development Technologies, Public Speaker, Blogger, and Microsoft Azure Nerd. I blog regularly at kencenerelli.wordpress.com and can be found on Twitter via @KenCenerelli.

Leave a Reply

Please log in using one of these methods to post your comment:

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: