{"id":7265,"date":"2016-07-13T09:40:40","date_gmt":"2016-07-13T16:40:40","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/?p=7265"},"modified":"2019-02-14T15:29:30","modified_gmt":"2019-02-14T23:29:30","slug":"developer-assistant-supports-cpp","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/developer-assistant-supports-cpp\/","title":{"rendered":"Developer Assistant now supports C++"},"content":{"rendered":"<p>Today we are happy to announce a major update to <a href=\"https:\/\/blogs.msdn.microsoft.com\/onecode\/p\/devassistant\/\">Developer Assistant<\/a>! Developer Assistant now offers contextually aware web powered solutions for C++.<\/p>\n<p><a href=\"http:\/\/www.microsoft.com\/click\/services\/Redirect2.ashx?CR_CC=200627594\">Developer Assistant for Visual Studio<\/a> is a productivity plugin that brings the combined power of Bing search capabilities and your development environment to solve your day-to-day developer problems. With the addition of C++, we are opening up new possibilities for millions of C++ developers on Visual Studio.<\/p>\n<p>We are now expanding all the 3 important components of Developer Assistant to C++<\/p>\n<ul>\n<li>Code Samples access in your IDE environment<\/li>\n<li>Project search from popular sources<\/li>\n<li>Bing powered contextual search<\/li>\n<\/ul>\n<p>With the addition of 43 Million C++ code samples, our total corpus is now of 64 Million code samples. In addition to <a href=\"https:\/\/msdn.microsoft.com\">MSDN<\/a>, <a href=\"http:\/\/stackoverflow.com\/\">stackoverflow<\/a> and <a href=\"https:\/\/github.com\">GitHub<\/a> we have sourced code samples from specialist C++ domains like <a href=\"http:\/\/en.cppreference.com\/w\/\">cppreference.com<\/a> and <a href=\"http:\/\/www.cplusplus.com\/\">cplusplus.com<\/a> which gives developers a strong base of options to choose from. Now you have access to thousands of code samples for CRT (C runtime libraries), STL (standard template library) and various other open source C++ libraries like Boost, Direct3D, OpenCV etc. from within Visual Studio. You can access all these code samples in two ways:<\/p>\n<ol>\n<li>Automatic code samples in your IntelliSense experience<\/li>\n<li>Code samples for your tasks using natural language in the \u201cHow do I \u2013 box\u201d (Ctrl+shift+F1) or in the Bing search box<\/li>\n<\/ol>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/1.ExplicitApiSearch.jpg\"><img decoding=\"async\" title=\"Explicit API Search\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/07\/1.ExplicitApiSearch.jpg\" alt=\"Explicit API Search\" width=\"769\" height=\"560\" \/><\/a><\/p>\n<p><em>Figure 1 Intellisense Experience in your code editor<\/em><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/2.NL-Search.jpg\"><img decoding=\"async\" title=\"&quot;How Do I&quot; Search Box\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/07\/2.NL-Search.jpg\" alt=\"&quot;How Do I&quot; Search Box\" width=\"773\" height=\"559\" \/><\/a><\/p>\n<p><em>Figure 2 &#8220;How do I&#8221; search box gives code samples for your programming tasks<\/em><\/p>\n<p>Now you can satisfy your programming needs by using the search box in the Visual Studio toolbar. You will get both C++ code snippets and sample projects from MSDN or GitHub within the IDE browser. All the open source projects are just a simple search away. Code sample projects are complete Visual Studio demo solutions that you can download or clone, build and run<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/3.Project-Search.jpg\"><img decoding=\"async\" title=\"Project Search\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/07\/3.Project-Search.jpg\" alt=\"Project Search\" width=\"762\" height=\"553\" \/><\/a><\/p>\n<p><em>Figure 3 Search code sample projects from within the Visual Studio<\/em><\/p>\n<p>With Bing Contextual Search support for C++ you can get web help on any keyword or compiler error. Our algorithm consumes all the additional contextual parameters like your project type, programming language etc and issues multiple queries to the search engine and show re ranked results in your web browser.<\/p>\n<p>For instance, imagine you\u2019re in Visual Studio and want to know more about a particular keyword. You can simply select and do a right click as shown below<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/4.BingContextualSearch1.jpg\"><img decoding=\"async\" title=\"Bing Contextual Search\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/07\/4.BingContextualSearch1.jpg\" alt=\"Bing Contextual Search\" width=\"756\" height=\"685\" \/><\/a><\/p>\n<p><em>Figure 4 Select and do right click and choose Bing Contextual Search<\/em><\/p>\n<p>Selecting \u201cBing Contextual Search\u201d from the dropdown link will open a web results page containing everything you need about this particular keyword or compiler error from the internet.<\/p>\n<p>NOTE: Currently in VS2015 the feature works only in the IDE Editor and not for compiler errors.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/5.-Results-Screenshot-in-Browser.png\"><img decoding=\"async\" class=\"\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/07\/5.-Results-Screenshot-in-Browser.png\" alt=\"\" width=\"674\" height=\"770\" \/><\/a><\/p>\n<p><em>Figure 5 Contextual results shown in a browser for the selected keyword<\/em><\/p>\n<p>Get your latest version of Developer Assistant from <a href=\"https:\/\/blogs.msdn.microsoft.com\/onecode\/p\/devassistant\/\">here<\/a>. In our endeavor to improve developer productivity we have come a long way through your feedback and suggestions. Please keep writing to us at <a href=\"mailto:bingdevassistant@microsoft.com\">bingdevassistant@microsoft.com<\/a> and help us to serve you better.<\/p>\n<p>On behalf of teams from Bing, Developer Experience, Microsoft Research &amp; Visual Studio, Thank you.<\/p>\n<table border=\"0\" width=\"600\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"150\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/07\/Anuj-Jain.png\" alt=\"\" width=\"240\" height=\"222\" \/><\/td>\n<td valign=\"top\" width=\"450\"><strong>Anuj Jain<\/strong>, Program Manager, Bing Tech Experiences\n<a href=\"https:\/\/twitter.com\/1ajain\">@1AJain<\/a><\/p>\n<p>Anuj has been with Microsoft for 3 years. He is passionate about improving developer productivity by combining the power of web by using Bing &amp; Development Environment to provide contextually aware help to developers.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Today we are happy to announce a major update to Developer Assistant! Developer Assistant now offers contextually aware web powered solutions for C++. Developer Assistant for Visual Studio is a productivity plugin that brings the combined power of Bing search capabilities and your development environment to solve your day-to-day developer problems. With the addition of [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[561,155],"tags":[237,1383,294,12],"class_list":["post-7265","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source","category-visual-studio","tag-net","tag-c","tag-extensions","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>Today we are happy to announce a major update to Developer Assistant! Developer Assistant now offers contextually aware web powered solutions for C++. Developer Assistant for Visual Studio is a productivity plugin that brings the combined power of Bing search capabilities and your development environment to solve your day-to-day developer problems. With the addition of [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/7265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=7265"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/7265\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=7265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=7265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=7265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}