Microsoft has announced a new method for programmers to find and insert code in their applications. Today, Microsoft revealed the introduction of the Bing Code Search extension for Visual Studio, which represents a collaboration between the Bing, Visual Studio and Microsoft Research divisions.

The official Bing blog states when the Bing Code Search extension is made a part of Visual Studio, programmers can use it to search for code samples from a number of web-based repositories like Microsoft's own MSDN, along with StackOverflow, Dotnetperls and CSharp411. When a search string is typed in, the code results are supposed to use the same variable name found in the original code of a user's project. They can then review and add the code they were looking for directly in Visual Studio.

Microsoft adds:

Bing uses signals and metadata including project type and semantic context (e.g. C#/VB compiler) combined with our vast index to deliver relevant code samples directly into the Visual Studio experience. In a few short clicks, you have a set of code snippets for review and copy into the Visual Studio editor without missing a beat.

This is just the latest effort by Microsoft to add Bing features in the company's other products. That includes integrating the search engine with Kinect voice commands in the Xbox One console and inside Windows 8.1 directly via Bing Smart Search.

Source: Microsoft | Image via Microsoft