IDE Integrated Search Engines

| by Jeff Martin Follow 16 Followers on Feb 25, 2014. Estimated reading time: 1 minute |


The ease of Google searches and the popularity of code advice community message boards like StackOverflow do well to indicate the popularity of coding through web search.  Scott Hanselman wrote about the similar of idea of programming through copying.  Microsoft Research has observed these trends and taken the next evolutionary step by producing a plugin for Visual Studio 2013 that enables developers to conduct a code search directly from their IDE.

Bing Code Search for C# has been developed by a collaboration between the Visual Studio, Bing, and Microsoft Research teams.  This plugin integrates with VS2013’s editor and is activated by choosing the new “How do I…” option from the IntelliSense drop-down menu.  When selected, an expanded window opens inline allowing you to enter search terms for Bing to analyze.  After entering a query Bing will search for relevant answers across MSDN, StackOverflow, Dotnetperls, and CSharp411.  The results are easily indexed through, and each sample’s origin is clearly labeled.

A Microsoft spokesman indicated that Microsoft has made agreements with these particular websites to share their content with Visual Studio users.  Answers sourced from StackOverflow additionally have a link back to the original contributor of the code snippet.  While it is possible to add additional providers, nothing is planned at this time.

The plugin uses various pieces of “magic” to retrieve what considers to be useful answers including the semantic context and the type of project being worked on.  Microsoft Program Manager Ala Shiban notes that this is one of the uses for the Roslyn compiler project.

Of interest is what of type of security and protections the code entered for queries received, as developers working on proprietary software projects may run into conflicts with corporate policies if company code is being transmitted outside their employer.  At the time this article was published no information was available about specific privacy protections.   

Beyond making the plugin available for Visual Studio 2013 users, Microsoft Research has also produced an online demo for those interested in sampling the plugin before installing.  Microsoft’s Bing isn’t the only search engine with programming-specific customizations, The Hacker News recently reported search engine DuckDuckGo has also programmer focused search tools available (albeit without an IDE plugin as of yet.)


Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread


Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you