You are here
Home > Visual Studio 2013 > Bing Code Search In Visual Studio 2013

Bing Code Search In Visual Studio 2013

Bing Code Search – There is a very nice Visual Studio extension on the Visual Studio Gallery called Bing Code Search for C#. If you are running Visual Studio 2013, head on over there and download and install this extension. It really makes finding code snippets a piece of cake and is surely a fantastic productivity booster.

Bing Code Search

After you have downloaded and installed the extension, you will see it under Tools -> Extensions and Updates.

Bing Code Search

Go ahead and in the code editor of Visual Studio type in ‘h’ for ‘How do I’.  You will see Intellisence respond with a Bing icon containing the text.

Bing Code Search

You can also activate the Bing Code Search window by typing Alt-A.

Bing Code Search

Once the Bing Code Search window is active, you will see a few areas of interest. Let us assume that I forgot how to run a process in a separate thread. In the search field, I type in my search and Bing Code Search returns code results. At the bottom of the screen you can see that there were three hits. You can scroll between these using the left or right arrows. The code results also list the source for the code, in this case DotNetPerls.com.

Bing Code Search

When I have found the code I think will work, I simply click on ‘Accept’ to insert the code in my code window. Apart from the two variables I need to replace (A and B), the code is fully functional.

Bing Code Search

What could be more easy that that? Sometimes I really hate having to leave Visual Studio to search for code. The Bing Code Search add-in makes this process very easy!

Introducing Bing Code Search for C#, Visual Studio Gallery

Dirk Strauss
Dirk is a Software Developer and Microsoft MVP from South Africa. He loves all things Technology and is slightly addicted to Twitter and Jimi Hendrix. Apart from writing code, he also enjoys writing human readable articles. "I love sharing knowledge and connecting with people from around the world. It's the diversity that makes life so beautiful." Dirk feels very strongly that pizza is simply not complete without Tabasco, that you can never have too much garlic, and that cooking the perfect steak is an art he has yet to master.
Top