{"id":248858,"date":"2024-05-07T03:00:15","date_gmt":"2024-05-07T10:00:15","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=248858"},"modified":"2024-05-15T14:56:14","modified_gmt":"2024-05-15T21:56:14","slug":"using-github-copilot-as-your-coding-gps","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/using-github-copilot-as-your-coding-gps\/","title":{"rendered":"Using GitHub Copilot as your Coding GPS"},"content":{"rendered":"<p>In this series, we delve into GitHub Copilot in Visual Studio, showcasing how it aids coding. GitHub Copilot functions as a coding GPS, guiding you through software development in Visual Studio. In our new short video, Bruno Capuano shows how this smart coding assistant boosts coding efficiency and quality.<\/p>\n<p><iframe title=\"Harnessing GitHub Copilot as your Coding GPS  #visualstudio #githubcopilot  #coding\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/kq8JNPgajAU?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<h2><strong>GitHub Copilot: an assistant, not a replacement<\/strong><\/h2>\n<p>Bruno says GitHub Copilot improves your coding in Visual Studio, not replaces developers. Microsoft agrees, saying AI should help humans, not replace them. CEO Satya Nadella says AI should boost productivity without replacing people.<\/p>\n<p>Developers should check the code GitHub Copilot suggests. Sometimes it may suggest wrong code, called &#8220;hallucinations.&#8221; Though GitHub Copilot is usually accurate, however, reviewing its suggestions is important to be sure.<\/p>\n<p>First, install GitHub Copilot. You can find setup help in <a href=\"https:\/\/docs.github.com\/en\/copilot\">GitHub Copilot documentation<\/a> or our <a href=\"https:\/\/learn.microsoft.com\/visualstudio\/ide\/visual-studio-github-copilot-chat?view=vs-2022#install-the-visual-studio-extension\/?WT.mc_id=academic-129246-lbugnion\">Microsoft Learn tutorial for installing GitHub Copilot Chat<\/a> in Visual Studio.<\/p>\n<h3><strong>Using LLMs for a new way of interaction<\/strong><\/h3>\n<p>GitHub Copilot uses Large Language Models (LLMs) for its core. LLMs bring a new way to interact with computers. They use probabilities and lots of data to generate responses from natural-language prompts, making coding feel like a conversation. This interaction covers more than text; it includes images and videos as well.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/05\/LBugnion_0-1712085121745.png\"><img decoding=\"async\" class=\"aligncenter wp-image-248861 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/05\/LBugnion_0-1712085121745.png\" alt=\"Illustration with an overview of AI capabilities, including computer vision, voice recognition, image recognition, and more.\" width=\"400\" height=\"363\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/05\/LBugnion_0-1712085121745.png 400w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/05\/LBugnion_0-1712085121745-300x272.png 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 juice:w-full juice:items-end overflow-x-auto gap-2\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"ddc6442d-1780-4c9f-9c12-125c364ba164\">\n<div class=\"flex w-full flex-col gap-1 juice:empty:hidden juice:first:pt-[3px]\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>Because LLMs can vary, developers need to oversee this, ensuring consistency in their results.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><strong>Embracing the Future with GitHub Copilot<\/strong><\/h3>\n<p>As AI becomes more common in industries, developers should adapt. Tools like GitHub Copilot can help by making coding more efficient and adaptable. To keep up, it&#8217;s important to learn about AI tools, their strengths, and their limits. Check out our <a href=\"https:\/\/learn.microsoft.com\/collections\/ng58uwrk6g53ox?WT.mc_id=academic-129245-abartolo\">resources<\/a> and <a href=\"https:\/\/youtu.be\/z1ycDvspv8U\" target=\"_blank\" rel=\"noopener\">full-length video<\/a> tutorial for more about GitHub Copilot and how to use it in your projects!<\/p>\n<p><strong>Additional Resources:<\/strong><\/p>\n<ul>\n<li><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 cLBplk\" href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/copilot-chat-slash-commands-and-context-variables\/\" target=\"_blank\" rel=\"noopener\">Code Faster and Better with GitHub Copilot\u2019s New Features<\/a><\/li>\n<li><a class=\"LinkSuggestion__Link-sc-1gewdgc-4 cLBplk\" href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/announcing-the-github-extension-for-visual-studio\/\" target=\"_blank\" rel=\"noopener\">Announcing the GitHub Extension for Visual Studio<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this series, we delve into GitHub Copilot in Visual Studio, showcasing how it aids coding. GitHub Copilot functions as a coding GPS, guiding you through software development in Visual Studio. In our new short video, Bruno Capuano shows how this smart coding assistant boosts coding efficiency and quality. GitHub Copilot: an assistant, not a [&hellip;]<\/p>\n","protected":false},"author":24687,"featured_media":248894,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6887,6888,6941,1388,6904,155],"tags":[1055,6946,4381,6924,6906,6944,287,12],"class_list":["post-248858","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","category-copilot","category-copilot-2024-series","category-extensibility","category-installation-and-updates","category-visual-studio","tag-ai","tag-cynthia-zanoni","tag-github","tag-github-copilot","tag-install","tag-laurent-bugnion","tag-tips-and-tricks","tag-visual-studio"],"acf":[],"blog_post_summary":"<p>In this series, we delve into GitHub Copilot in Visual Studio, showcasing how it aids coding. GitHub Copilot functions as a coding GPS, guiding you through software development in Visual Studio. In our new short video, Bruno Capuano shows how this smart coding assistant boosts coding efficiency and quality. GitHub Copilot: an assistant, not a [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/248858","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\/24687"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=248858"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/248858\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/248894"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=248858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=248858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=248858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}