{"id":222650,"date":"2018-12-05T08:30:32","date_gmt":"2018-12-05T16:30:32","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/?p=20055"},"modified":"2019-10-29T12:23:15","modified_gmt":"2019-10-29T19:23:15","slug":"visual-studio-intellicode-supports-more-languages-and-learns-from-your-code","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-intellicode-supports-more-languages-and-learns-from-your-code\/","title":{"rendered":"Visual Studio IntelliCode supports more languages and learns from your code"},"content":{"rendered":"<p>At Build 2018, we <a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2018\/07\/17\/visual-studio-intellicode-inferring-coding-conventions-for-consistent-code\/\" target=\"_blank\" rel=\"noopener noreferrer\">announced<\/a> Visual Studio IntelliCode, a set of AI-assisted capabilities that improve developer productivity. IntelliCode includes features like contextual IntelliSense code completion recommendations, code formatting, and style rule inference.<\/p>\n<p>IntelliCode has just received some major updates that make its context-sensitive AI-assisted IntelliSense recommendations even better. You can download the updated <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=872707\" target=\"_blank\" rel=\"noopener noreferrer\">IntelliCode Extension for Visual Studio<\/a> and <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=2006060\" target=\"_blank\" rel=\"noopener noreferrer\">IntelliCode Extension for Visual Studio Code<\/a> today! The Visual Studio extension already works with the newly-release <a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2018\/12\/04\/making-every-developer-more-productive-with-visual-studio-2019\/\" target=\"_blank\" rel=\"noopener noreferrer\">Visual Studio 2019 Preview 1<\/a>.<\/p>\n<h3>AI-assisted IntelliSense recommendations based on your language of choice<\/h3>\n<p>Many of you have requested IntelliCode recommendations for your favorite languages. With this update, we\u2019re excited to add four more languages to the list that can get AI-assisted IntelliSense recommendations. In our <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=872707\" target=\"_blank\" rel=\"noopener noreferrer\">extension for Visual Studio<\/a>, C++ and XAML now get IntelliCode alongside existing support for C#. In our <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=2006060\" target=\"_blank\" rel=\"noopener noreferrer\">extension for Visual Studio Code<\/a>, TypeScript\/JavaScript and Java are added alongside existing support for Python.<\/p>\n<p>We\u2019ll be sharing more details about IntelliCode\u2019s support for each language on their respective blogs [<a href=\"https:\/\/aka.ms\/cppintellicode\" target=\"_blank\" rel=\"noopener noreferrer\">C++<\/a>\u00a0|\u00a0<a href=\"https:\/\/aka.ms\/tsintellicode\" target=\"_blank\" rel=\"noopener noreferrer\">TypeScript and JavaScript<\/a> | <a href=\"https:\/\/aka.ms\/vsicjava\" target=\"_blank\" rel=\"noopener noreferrer\">Java<\/a>]<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/intellicode-csharp.gif\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"alignnone size-full wp-image-20075\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/intellicode-csharp.gif\" alt=\"\" width=\"1662\" height=\"1054\" \/><\/a><\/p>\n<h3>AI-assisted IntelliSense for C# with recommendations based on your own code<\/h3>\n<p>Until now, IntelliCode\u2019s recommendations have been based on learning patterns from thousands of open source GitHub repos. But what if you\u2019re using code that isn\u2019t in that set of repos? Perhaps you use a lot of internal utility and base class libraries, or domain-specific libraries that aren\u2019t commonly used in open source code, and would like to see IntelliCode recommendations for them too? If you\u2019re using C#, you can now have IntelliCode learn patterns and make recommendations based on your own code!<\/p>\n<p>When you open Visual Studio after installing the updated <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=872707\" target=\"_blank\" rel=\"noopener noreferrer\">IntelliCode Extension for Visual Studio<\/a>, you\u2019ll see a prompt that lets you know about training on your code, and will direct you to the brand new IntelliCode page to get started. You can also find the new page under View &gt; Other Windows &gt; IntelliCode.\u00a0 Once training is done, we\u2019ll let you know about the top classes we found usage for, so you can just open a C# file and start typing to try out the new recommendations. We keep the trained models secured, so only you and those who have been given your model\u2019s sharing link can access them\u2013so your model and what it\u2019s learned about your code stay private to you. See our <a href=\"https:\/\/aka.ms\/vsicfaq\" target=\"_blank\" rel=\"noopener noreferrer\">FAQ<\/a> for more details.<\/p>\n<p>Check out Allison\u2019s video below to see how this new feature works.<\/p>\n<p><iframe title=\"What&#039;s new in Visual Studio IntelliCode\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/bC_IA_uOkrA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h3>Get Involved<\/h3>\n<p>As you can see, IntelliCode is growing new capabilities fast. Get the <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=872707\" target=\"_blank\" rel=\"noopener noreferrer\">IntelliCode Extension for Visual Studio<\/a> and the <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=2006060\" target=\"_blank\" rel=\"noopener noreferrer\">IntelliCode Extension for Visual Studio Code<\/a> to try right away, and let us know what you think. \u00a0You can also find more details about the extensions in our <a href=\"https:\/\/aka.ms\/vsicfaq\" target=\"_blank\" rel=\"noopener noreferrer\">FAQ<\/a>.<\/p>\n<p>IntelliCode and its underlying service are in preview at present. If you hit issues using the new features and you\u2019re using Visual Studio, use the built-in Visual Studio <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio-2017\" target=\"_blank\" rel=\"noopener noreferrer\">\u201cReport a Problem\u201d<\/a> option, and mention <strong>IntelliCode<\/strong> in your report. If you\u2019re a Visual Studio Code user, just head over to our <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=2005855\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub issues page<\/a> and report your problem there.<\/p>\n<p>If you want to learn more or keep up with the project as we expand the capabilities to more scenarios and other languages, please <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=872706\" target=\"_blank\" rel=\"noopener noreferrer\">sign up<\/a> for email updates. Thanks!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At Build 2018, we announced Visual Studio IntelliCode, a set of AI-assisted capabilities that improve developer productivity. IntelliCode includes features like contextual IntelliSense code completion recommendations, code formatting, and style rule inference. IntelliCode has just received some major updates that make its context-sensitive AI-assisted IntelliSense recommendations even better. You can download the updated IntelliCode Extension [&hellip;]<\/p>\n","protected":false},"author":587,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4980,155],"tags":[5,467,376,124,125,475,280],"class_list":["post-222650","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","category-visual-studio","tag-csharp","tag-intellicode","tag-java","tag-javascript","tag-typescript","tag-visual-studio-2019","tag-visual-studio-code"],"acf":[],"blog_post_summary":"<p>At Build 2018, we announced Visual Studio IntelliCode, a set of AI-assisted capabilities that improve developer productivity. IntelliCode includes features like contextual IntelliSense code completion recommendations, code formatting, and style rule inference. IntelliCode has just received some major updates that make its context-sensitive AI-assisted IntelliSense recommendations even better. You can download the updated IntelliCode Extension [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/222650","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\/587"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=222650"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/222650\/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=222650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=222650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=222650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}