{"id":229206,"date":"2020-05-20T12:00:47","date_gmt":"2020-05-20T19:00:47","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=229206"},"modified":"2020-05-20T18:41:43","modified_gmt":"2020-05-21T01:41:43","slug":"github-action-intellicode","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/github-action-intellicode\/","title":{"rendered":"Keep your IntelliCode completions fresh with our GitHub Action for Team Completions"},"content":{"rendered":"<p>Visual Studio <a href=\"https:\/\/docs.microsoft.com\/visualstudio\/intellicode\/overview\">IntelliCode<\/a> helps by giving contextually-rich code completion suggestions as you type. This allows you to code faster, onboard to new projects sooner, and learn new APIs more quickly.<\/p>\n<p>Although IntelliCode\u2019s base model was trained on over 3000 top open source GitHub repositories, it does not include all the custom types in your codebase. To produce useful, high-fidelity, contextually-rich suggestions, IntelliCode&#8217;s model needs to be properly tailored to unique types or domain-specific APIs that aren&#8217;t commonly used in open source code.<\/p>\n<p>Last year, we extended our ML model training capabilities beyond our initial GitHub trained base model to enable you to personalize your IntelliCode completions by <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/code-more-scroll-less-with-visual-studio-intellicode\/\">creating team models trained on your own code<\/a>.<\/p>\n<p>We heard from our customers that keeping models fresh as you evolve your codebase used to be a tedious manual task. Now with the <a href=\"https:\/\/aka.ms\/vsic\/xtn\/github\">IntelliCode GitHub Action<\/a>, teams can share and automate code completions easily!<\/p>\n<p><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-229206-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/04\/devblog-brand-visualstudiowin2019.png\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/05\/ICGHActionNoAudio.mp4?_=1\" \/><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/05\/ICGHActionNoAudio.mp4\">https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/05\/ICGHActionNoAudio.mp4<\/a><\/video><\/div><\/p>\n<p>&nbsp;<\/p>\n<p>By configuring your CI workflow to run our new <a href=\"https:\/\/aka.ms\/vsic\/xtn\/github\">GitHub Action<\/a>,\u00a0<a href=\"https:\/\/docs.microsoft.com\/visualstudio\/intellicode\/overview\">Visual Studio IntelliCode<\/a> automates training a Team Completions model to provide in-line completion suggestions based on your own types in C# and C++.<\/p>\n<p>Once configured, you and every developer on your team becomes as familiar with the code as the most senior developer on the project with Team completions up-to-date with your repository\u2019s latest commit.<\/p>\n<p>&nbsp;<\/p>\n<h3>Set up the GitHub Action as part of your CI workflow!<\/h3>\n<p>&nbsp;<\/p>\n<h4><strong>Configure and Automate<\/strong><\/h4>\n<p>Learn how to configure and automate your CI workflow (i.e. .yml file) to train Team Completions <a href=\"https:\/\/aka.ms\/vsic\/xtn\/github\">here<\/a>.<\/p>\n<p>Your build agent (MSBUILD, CMAKE) has the minimum required Visual Studio version installed: For C# repositories: Visual Studio 2017 or higher For C++ repositories: Visual Studio 2019 Update 4 or higher.<\/p>\n<p>&nbsp;<\/p>\n<h4><strong>Tell us what you think!<\/strong><\/h4>\n<p>We&#8217;d love to understand your current experience with IntelliCode and where we can improve.<\/p>\n<p>Try out sharing team completions and automating updates today and tell us what you think of the new experience.<\/p>\n<p>Please raise issues and comments <a href=\"https:\/\/docs.microsoft.com\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio?view=vs-2019\">Visual Studio \u201creport a problem\u201d<\/a>. We\u2019re interested to hear feedback about the recommendations themselves, the performance of the feature, or any capabilities you might be missing.<\/p>\n<p><strong>NOTE: <\/strong>When sending your feedback, if you can, share details of what was detected and what sort of edits you were making; we\u2019ll follow up.<\/p>\n<p>To keep up with the future of AI-assisted development, <a href=\"https:\/\/aka.ms\/vsicsignup\">sign up<\/a> for our Insiders newsletter.<\/p>\n<p><a href=\"https:\/\/aka.ms\/vsicsignup\"><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/aka.ms\/vsicsignup\" target=\"_blank\">Sign up for IntelliCode Insiders<\/a><\/div><\/a><\/p>\n<p style=\"text-align: center;\">Happy coding!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introducing the Visual Studio IntelliCode GitHub Action for Team Completions, teams can share and automate code completions easily!<\/p>\n<p>Visual Studio IntelliCode automates training a Team Completions model as part of your CI workflow to provide in-line completion suggestions based on your own types in C# and C++.<\/p>\n","protected":false},"author":9595,"featured_media":229391,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1085,1195,1030,1196,561,1412,155,1029],"tags":[354,5,1054,526,475],"class_list":["post-229206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-cross-platform","category-data","category-desktop","category-open-source","category-development","category-visual-studio","category-web","tag-announcement","tag-csharp","tag-ml","tag-productivity","tag-visual-studio-2019"],"acf":[],"blog_post_summary":"<p>Introducing the Visual Studio IntelliCode GitHub Action for Team Completions, teams can share and automate code completions easily!<\/p>\n<p>Visual Studio IntelliCode automates training a Team Completions model as part of your CI workflow to provide in-line completion suggestions based on your own types in C# and C++.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/229206","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\/9595"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=229206"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/229206\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/229391"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=229206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=229206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=229206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}