March 22nd, 2023

GitHub Copilot chat for Visual Studio 2022

Mark Wilson-Thomas
Principal Program Manager

GitHub Copilot has become a trusted AI-assisted pair programmer helping to auto-complete comments and code more productively. That’s just the beginning though! We’ve been working to evolve Copilot to move beyond code completion and provide enhanced AI assistance that you can access throughout your development lifecycle, whatever task you happen to be doing at the time.

Copilot chat in Visual Studio

We’re bringing fully integrated AI-powered Copilot chat experiences to Visual Studio. This is no ordinary chat! With tight integration in Visual Studio, it understands what you’re working on. That means it can quickly help you get in-depth analysis and explanations of how a code block works, generate unit tests, and even find and get proposed fixes to bugs, or explain exceptions. Check out the video below to see what we mean. And this is just the start.  Watch out for more AI assistance across your whole lifecycle as we continue to develop Copilot. Already excited? Sign up for the private preview below.

With GitHub Copilot chat, if you find yourself needing more information, you can ask it to explain the code you’re working on. When you hit an error, ask Copilot to help fix it and generate unit tests. If an exception gets thrown, ask Copilot to help you figure out possible causes and even suggest fixes. By gathering the right data from Visual Studio, Copilot grasps your intent and helps you form exactly the right question to get useful answers. Using GitHub Copilot with Visual Studio gives you more time for creativity by spending less time on boilerplate manual tasks and diagnosis.

We’ll be sharing GitHub Copilot Chat for Visual Studio with a private preview soon – just sign up to be wait-listed.

Learn more and share your feedback

There’s a whole set of new ways Copilot will be able to help you with your development work, from enhancing pull requests to personalized documentation and even a natural language way to run your CLI. Please check out Thomas Dohmke’s GitHub blog post to learn more.

We’re excited to see where this next wave of AI-assisted productivity takes you as you create great software, and we’d love to hear your feedback on the GitHub Copilot Community forum.

Author

Mark Wilson-Thomas
Principal Program Manager

Mark is a Program Manager on the Visual Studio IDE team, where he's been building developer tools for over 15 years. Most recently he's been working on AI assisted developer tools like GitHub Copilot Chat for Visual Studio. Prior to that, he worked on the Visual Studio Editor, and on tools for Office, SQL, WPF and Silverlight.

40 comments

Discussion is closed. Login to edit/delete existing comments.

  • Qingxiang WangMicrosoft employee

    Hi, Mark, I get approved for the preview, and I have installed in VS Code. How can I install in VS 2022?
    Thanks a lot!

    • Mark Wilson-ThomasMicrosoft employee Author

      Please reach out to me directly on mwthomas at microsoft dot com.

      Thanks
      Mark

  • 建国 何

    I have been waiting for the chat feature provided in Visual Studio for GitHub Copilot. I am currently a subscriber to GitHub Copilot (for one year) and I am already on the waiting list. I hope to use it as soon as possible. thank you

  • Juraj M.

    I really hope this is coming to the Webstorm as well (:

  • SEUNGYONG SHIM

    Can’t waiting!!

  • Graham Glover

    This is fantastic Mark. I have increasingly found Chat-GPT critical to programming so have been going about implementing a VS 2022 extension… until I saw this. I am on the waitlist but when will it realistically become available? Are we talking weeks or months?

    • Mark Wilson-ThomasMicrosoft employee Author

      Glad you like what you see.

      I’m afraid we can’t comment on timelines for availability yet. Sorry!

  • James Schwarzmeier

    This is exciting! I have two questions:

    1) Our organization uses Azure DevOps. I know this is a GitHub-based technology, but I also know that the behind-the-scenes GitHub and Azure DevOps share some of the same services and technologies (e.g. pipelines). Will there be any consideration to allow DevOps customers to make use of this as well?

    2) If we make use of this, will our source code be used as training data? In other words, that...

    Read more
    • Mark Wilson-ThomasMicrosoft employee Author

      Hi James

      1. There is no restriction on the source control approach you choose to use when working with GitHub Copilot chat (and the same applies to GitHub Copilot's current in market offering) - so you'll be fine using it wherever you choose to keep your source code.

      2. GitHub Copilot chat operates on the same privacy principles as today’s in-market Copilot features. GitHub follows responsible practices in accordance with our Privacy Statement to ensure that...

      Read more
  • tpinbox

    Hi Mark,
    Can GitHub Copilot Chat trace the root cause of an error in one file to its origin in another file within the same repository?

    For example, let’s say I have an example_app repository with the following directory structure:

    <code>

    In file_01.py, which is located in the src project directory within the example_app root repository, I import functions from file_02.py and file_03.py, which are located in the controler and router project directories, respectively. If I encounter a...

    Read more
  • Cosmin Ivan

    Looks very cool!
    Can you please also support direct voice input instead of only typing?
    Thanks!

    • Mark Wilson-ThomasMicrosoft employee Author · Edited

      Hi Cosmin Ivan!

      Thanks for bringing this up - it's a direction we're exploring. Check out Copilot Voice for a little more information. You can already use any voice-to-text input method to ask Copilot chat for Visual Studio questions too - for instance voice typing on Windows.

      Thanks
      Mark

      Read more
  • Justin Hinh

    I was just recently laid off and I’ve been learning how to code via ChatGPT. It’s annoying have to jump between VS and ChatGPT so I’m excited to get access to this!

    • Mark Wilson-ThomasMicrosoft employee Author

      We hope you find it helpful – thanks for the kind comment and good luck in your code-learning journey.

      Mark

  • Gondar Tutorials

    From what i understand, github copilot X will have chat and all other features? Everything will be under one ?And Do you know the approximate release date?

    • Mark Wilson-ThomasMicrosoft employee Author

      Take a look at the feature preview page to learn more about Copilot X.

      In terms of timeline, as you’ll see on that page we don’t yet have any release date to announce.

      Thanks
      Mark