Announcement: Developer Assistant now supports C++
Developer Assistant for Visual Studio combines the functionality of two popular Visual Studio extensions into one: Sample Browser and Bing Code Search. This updated feature enables developers to find and reuse over 21 million of code snippets and code sample projects from within the Visual Studio IDE. The plugin is now also enabled with Bing contextual search that currently helps with root causing compiler errors and code lookup.
Developer Assistant Features
1. GitHub Integration
Developer Assistant is now taking a big leap with integration of GitHub in BUILD 2015. GitHub hosts the largest open source community in the world. Popular open source projects like .Net foundation, Roslyn, Node.js, Bootstrap are hosted in GitHub. It also hosts API usage samples of popular development environments like HTMLAgilityPack, NewtonSoft.json & Windows 10 universal platform among the recent ones.
You can access millions of API usage samples from GitHub code repositories.
You can also search for top .NET GitHub projects and clone them to your local repository.
2. Visual Studio IntelliSense experience to find code samples for API
Developer Assistant delivers a major enhancement in Visual Studio IntelliSense. While coding, a relevant code snippet related to your current API will be automatically displayed in the IntelliSense window which is powered by Bing Code Search. Code snippets are short piece of code that you can easily learn and copy.
You can copy the code, or click the source URL to view where the code snippet comes from, or click “Search More” to find more code samples related to the API. In the current release, the new IntelliSense experience is only available to C#, but teams are working to expand the functionality to more programming languages in the future.
3. "How do I" code sample search
In this release, we brought back the ‘How do I’ code sample search as it is one of the top user voices. You can also invoke the ‘How do I’ search using the ‘Ctrl + Shift + F1’ shortcut key. This enhances the discoverability and accessibility of the ‘How do I’ code search for developers.
4. Local code search
We have also added a feature requested by our users – local code search. The new plugin enables you to search for code samples among your local or downloaded sample projects even when you are disconnected from the Internet. You can configure Visual Studio to index your local sample folders in Tools / Options.
We added the API highlight in the local code search results. With this enhancement, you can quickly locate the most relevant code in the code snippet. It improves the productivity of using the code sample.
5. Compile Error Assistant 1.0 for C# & VB
Today when you get compilation error in C# or VB, you need to copy/paste the error message in the search and then modify the query so that the context is taken into account. All that is thing of the past. Now, when you get a compilation error in your project, don’t panic! With just one button click, the new Compile Error Assistant gathers the error info, and all the relevant context (e.g. Project Type = Microsoft Azure), and finds the best potential solutions from the web for you using the power of contextual Bing search. Right click on the compiler error and invoke “Bing Contextual Search”.
The contextual info that is automatically gathered includes
Now the plugin automatically searches the web through the power of Bing, and presents the most relevant web pages for your problem’s context in the form of Bing results page. In the below example, the top result pages will help solve the current compilation error. All this with a single click on error!
The results page also provides you with options to refine search if this did not solve your problem, and you can use the Bing search to formulate refined queries and help us refine the results next time.
6. API Help 1.0 for C# and VB
If you want to know more about a class or method or comments, it is pretty easy now. Bing Contextual Search button is added to the code editor. You can select some text in the code editor, right click and issue a Bing Contextual Search. It automatically gathers the selected text, your project type, language, etc and do a smart Bing search.
7. Sample Browser one-stop shop
The Sample Browser window is now your one-stop shop for code samples. By entering your programming needs on the Visual Studio toolbar, you will get both code snippets and code sample projects. Code sample projects are complete Visual Studio demo solutions that you can download, build and run. With the new Bing Developer Assistant for Visual Studio, a world of code samples are now at your fingertips.
8. The code search box is moved to a seperate Toolbar in Visual Studio
The code search box was part of the Standard toolbar in Visual Studio. It made it hard for people to hide/remove the search box. In this version, we moved the search box into its own Toolbar. You can hide it by right-clicking the Visual Studio Toolbar and unchecking ‘Search Code Samples’.
Start experiencing Developer Assistant for Visual Studio and download it today!
The Developer Assistant Team (email@example.com)