GitHub Copilot code review in Visual Studio Code (public preview)

With GitHub Copilot code review in Visual Studio Code, you can now get fast, AI-powered feedback on your code as you write it, or request a review of all your changes before you push.

There are two ways to use Copilot code review in VS Code:

  • Review selection: highlight code in VS Code and ask for an initial review. (Available now to all Copilot subscribers)
  • Review changes: ask Copilot for a deeper review of all your changes before you push from the “Source Control” tab, which you can also do in your pull request on GitHub.com. (Join the waitlist, open to all Copilot subscribers)

Copilot’s feedback shows up as comments in the editor, attached to lines of your code. Where possible, the comments include actionable code suggestions, which you can apply in one click.

A comment from Copilot in Visual Studio Code

To learn more about Copilot code review, head to the docs.

Copilot Autofix now supports fix suggestions for problems detected by ESLint, a partner code scanning tool. Autofixes are available both in pull requests and for historical alerts.

Setting up ESLint using a starter workflow

ESLint is the first partner tool supported by Copilot Autofix. Support for additional partner tools, such as JFrog SAST and Black Duck’s Polaris™ platform powered by Coverity®, will be announced by future changelogs when available. To opt out of fix suggestions for third-party tools, you can disable this feature from the code scanning settings page.

Example of a fix suggestion for an existing ESLint alert

In order for Copilot Autofix to pick up ESLint alerts, you need to enable ESLint as a code scanning tool in the target repository. For reference, you can select an updated starter workflow when setting up a new GitHub Actions workflow in your repository. You can use both ESLint scanning and the CodeQL analysis in the same repository.

Disabling fix suggestions for third-party tools

For more information, see: Responsible use of Copilot Autofix for code scanning. If you have feedback for Copilot Autofix for code scanning, please join the discussion here.

See more

Screenshot of Copilot Extensions on GitHub Mobile

GitHub Copilot Extensions are now available in public preview for GitHub Mobile!

With Copilot Extensions, you can extend GitHub Copilot’s capabilities on the go with GitHub Mobile. Use extensions to query third-party tools or private data in natural language.

How to join the preview program:

• On iOS: Install TestFlight and follow the prompts to join the GitHub Mobile beta program.
• On Android: Become a beta tester on Google Play and follow the prompts to download the beta version of GitHub Mobile.

You can also build your own private extensions for internal use or publish extensions to the GitHub Marketplace. For more info, see our docs on building Copilot Extensions.

Notice: We have temporarily rolled back support for GitHub Copilot Extensions on JetBrains IDEs to perform maintenance. Extensions are not currently supported on JetBrains, but we’re working to restore access as soon as possible. Further updates will be posted to the GitHub Changelog.


Learn more about GitHub Mobile and share your feedback to help us improve.

See more