{"id":249601,"date":"2024-09-04T09:44:52","date_gmt":"2024-09-04T16:44:52","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=249601"},"modified":"2025-02-25T07:36:47","modified_gmt":"2025-02-25T15:36:47","slug":"incorporate-github-copilot-into-your-daily-flow","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/incorporate-github-copilot-into-your-daily-flow\/","title":{"rendered":"Incorporate GitHub Copilot into your daily flow"},"content":{"rendered":"<h2><strong>Streamlining Workflow with GitHub Copilot\u00a0<\/strong><\/h2>\n<p>Have you ever received code completions that are too large to manage or ones that need slight tweaks, but you must accept all the code to make those changes? To address these pain points, in Visual Studio 17.11 we\u2019ve introduced a new feature that allows you to refine your completions by adding extra context or asking clarifying questions. Now, you can move directly into Inline Chat and view the suggested code in a more accessible way, without having to accept and modify everything in the editor.<\/p>\n<h3><strong>Refining GitHub Copilot Completions with Inline Chat<\/strong><\/h3>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/completionstoinline.png\"><img decoding=\"async\" class=\"alignnone wp-image-250446\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/completionstoinline.png\" alt=\"Image completionstoinline\" width=\"951\" height=\"384\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/completionstoinline.png 867w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/completionstoinline-300x121.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/completionstoinline-768x310.png 768w\" sizes=\"(max-width: 951px) 100vw, 951px\" \/><\/a><\/p>\n<p>You now have more control over the suggestions provided by GitHub Copilot. Instead of merely accepting or ignoring a suggestion, you can now modify and retry! This feature allows you to fine-tune the suggestions given by GitHub Copilot, by adding context or tweaking the suggestion.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/newinlinerefinement.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-250447\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/newinlinerefinement.png\" alt=\"Image newinlinerefinement\" width=\"915\" height=\"385\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/newinlinerefinement.png 915w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/newinlinerefinement-300x126.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/newinlinerefinement-768x323.png 768w\" sizes=\"(max-width: 915px) 100vw, 915px\" \/><\/a><\/p>\n<h3><strong>Promoting Inline Chat to the Chat Window for More Context<\/strong><\/h3>\n<p>Preserve the history of your Inline Chat by promoting it to the Chat Window. This feature enables you to maintain a record of the conversation and continue the Chat Window at your convenience on a larger screen. To do this, simply select \u2018Continue in chat window\u2026\u2019.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/continuetochat.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-250448\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/continuetochat.png\" alt=\"Image continuetochat\" width=\"922\" height=\"423\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/continuetochat.png 922w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/continuetochat-300x138.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/continuetochat-768x352.png 768w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/a><\/p>\n<p>We\u2019ve adjusted the length of responses from Copilot to ensure they are easily accessible and readable in Inline Chat. When you want to learn more or expand, you can switch to the Chat Window for a larger screen real estate. This will easily enable you to refer back to things later and chat outside of the context of your file.<\/p>\n<div class=\"heading-wrapper\" data-heading-level=\"h4\">\n<h2 id=\"ontheflydocumentation\" class=\"heading-anchor\">Understand your symbols right from your editor<\/h2>\n<\/div>\n<p>GitHub Copilot can now help you understanding descriptions of various symbols at different invocations within their codebase right from your editor. and select <strong>Generate Copilot summary<\/strong> to get provide AI-generated summaries of the selection. This is available for both C# and C++ developers.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/ontheflydocs.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-250449\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/ontheflydocs.png\" alt=\"Image ontheflydocs\" width=\"1924\" height=\"709\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/ontheflydocs.png 1924w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/ontheflydocs-300x111.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/ontheflydocs-1024x377.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/ontheflydocs-768x283.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/ontheflydocs-1536x566.png 1536w\" sizes=\"(max-width: 1924px) 100vw, 1924px\" \/><\/a><\/p>\n<h2><strong>Fix code with GitHub Copilot<\/strong><\/h2>\n<p>Now integrated into the lightbulb and error list, GitHub Copilot provides fixes and explanations for code issues in both C# and C++ development. This feature helps developers understand and resolve various code issues within their codebase. By invoking the lightbulb and selecting <strong>Fix with Copilot<\/strong>, GitHub Copilot will open inline chat with an explanation and available fix. Additionally, selecting the Copilot icon from the error list will take you to the chat panel with an explanation and available fix.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/lightbulbtofix.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-250453\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/lightbulbtofix.png\" alt=\"Image lightbulbtofix\" width=\"936\" height=\"236\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/lightbulbtofix.png 936w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/lightbulbtofix-300x76.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/09\/lightbulbtofix-768x194.png 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/a><\/p>\n<div class=\"content\">\n<div class=\"content-scroller\">\n<div class=\"message\">\n<div class=\"content user-select-text\" tabindex=\"0\" aria-description=\"\" aria-label=\"Sent by Copilot: **Streamlining Workflow with GitHub Copilot** With GitHub Copilot integrated into Visual Studio, we are enhancing experiences across Completions and Chat to streamline your workflow. This makes it easier to refine Completions suggestions and transition conversations across different interfaces. ### Refining GitHub Copilot Completions with Inline Chat Have you ever received code completions that are too large to manage or need slight tweaks, but you have to accept all the code to make those changes? To address these pain points, we\u2019ve introduced a new feature that allows you to refine your completions by adding extra context or asking clarifying questions. Now, you can move directly into Inline Chat and view the suggested code in a more accessible way, without having to accept and modify everything in the editor. ### More Control with Retry Feature You now have more control over the suggestions provided by GitHub Copilot. Instead of merely accepting or ignoring a suggestion, you can now retry! This feature allows you to modify and curate the proactive suggestions given by GitHub Copilot by adding context or tweaking the suggestion. ### Promoting Inline Chat to the Chat Window for More Context Preserve the history of your Inline Chat by promoting it to the Chat Window. This feature enables you to maintain a record of the conversation and continue the Chat Window at your convenience on a larger screen. To do this, simply select \u2018Continue in chat window\u2026\u2019. ### Improved Accessibility and Readability We've adjusted the length of responses from Copilot to ensure they are easily accessible and readable in Inline Chat. When you want to learn more or expand, you can switch to the Chat Window for a larger screen real estate. ### Enhanced User Experience These changes make it easier to refer back to previous conversations and continue discussions outside of your file. We hope this new feature enhances your experience with GitHub Copilot in Visual Studio. As always, we value your feedback and look forward to hearing your thoughts. Please use the thumbs up and down in chat to provide feedback.\">\n<div class=\"ac-container ac-adaptiveCard has-image\">\n<div class=\"ac-textBlock\">\n<p>These changes make it easier to refer back to previous conversations and continue discussions outside of your file. We hope this new feature enhances your experience with GitHub Copilot in Visual Studio. As always, we value your feedback and look forward to hearing your thoughts. Please use the thumbs up and down in chat to provide feedback.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/07\/send-us-feedback.png\" data-featherlight=\"image\"><img decoding=\"async\" class=\"lazyloaded wp-image-249918 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/07\/send-us-feedback.png\" sizes=\"(max-width: 520px) 100vw, 520px\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/07\/send-us-feedback.png 952w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/07\/send-us-feedback-300x258.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/07\/send-us-feedback-768x662.png 768w\" alt=\"Image send us feedback\" width=\"520\" height=\"448\" data-src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2024\/07\/send-us-feedback.png\" \/><\/a><\/p>\n<p>We hope you enjoy this update to Visual Studio and all the new developments happening within GitHub Copilot, and we look forward to hearing what you think. You can share feedback with us by using the thumbs up or down within the Chat, via\u00a0<a href=\"https:\/\/developercommunity.visualstudio.com\/home\" target=\"_blank\" rel=\"noopener\">Developer Community<\/a>, by reporting issues via\u00a0<a href=\"https:\/\/learn.microsoft.com\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio?view=vs-2022\" target=\"_blank\" rel=\"noopener\">report a problem<\/a>\u00a0and\u00a0<a href=\"https:\/\/developercommunity.microsoft.com\/VisualStudio\/suggest\" target=\"_blank\" rel=\"noopener\">share your suggestions<\/a>\u00a0for new features or improvements to existing ones.<\/p>\n<p>Stay connected with the Visual Studio team by following us on\u00a0<a href=\"https:\/\/twitter.com\/VisualStudio\" target=\"_blank\" rel=\"noopener\">Twitter<\/a>,\u00a0<a href=\"https:\/\/www.youtube.com\/user\/VisualStudio\" target=\"_blank\" rel=\"noopener\">YouTube<\/a>, and\u00a0<a href=\"https:\/\/www.linkedin.com\/showcase\/microsoft-visual-studio\/\" target=\"_blank\" rel=\"noopener\">LinkedIn<\/a>\u00a0and on\u00a0<a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/?view=vs-2022\" target=\"_blank\" rel=\"noopener\">Microsoft Learn<\/a>.<\/p>\n<p>Thank you for using Visual Studio and\u00a0<strong>happy coding!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Streamlining Workflow with GitHub Copilot\u00a0 Have you ever received code completions that are too large to manage or ones that need slight tweaks, but you must accept all the code to make those changes? To address these pain points, in Visual Studio 17.11 we\u2019ve introduced a new feature that allows you to refine your completions [&hellip;]<\/p>\n","protected":false},"author":142353,"featured_media":249604,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6888,6967,155],"tags":[6924,6815],"class_list":["post-249601","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-copilot","category-github-copilot","category-visual-studio","tag-github-copilot","tag-visual-studio-2022"],"acf":[],"blog_post_summary":"<p>Streamlining Workflow with GitHub Copilot\u00a0 Have you ever received code completions that are too large to manage or ones that need slight tweaks, but you must accept all the code to make those changes? To address these pain points, in Visual Studio 17.11 we\u2019ve introduced a new feature that allows you to refine your completions [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/249601","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\/142353"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=249601"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/249601\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/249604"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=249601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=249601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=249601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}