Before we dive into the step-by-step instructions for setting up Copilot Chat, it's important to understand the full potential of this powerful tool. Copilot Chat is an innovative AI-powered paired programing solution, leveraging the capabilities of OpenAI's GPT-4, specifically designed to serve as a conversational user interface. With its natural language processing abilities, Copilot Chat enhances your coding experience by providing a personalized and flexible environment. By streamlining your workflow, this tool enables you to develop faster, shift focus to business logic instead of boilerplate code, and concentrate on building awesome apps. Moreover, Copilot Chat offers comprehensive analysis, explanations of code blocks, automated unit test generation, and proposed bug fixes, elevating your coding efficiency to new heights.
Prerequisites for setting up Copilot Chat in VS Code
Before setting up Copilot Chat, there are a few prerequisites that need to be in place.
- An active GitHub Account.
- GitHub Account Signup: https://github.com/signup
- If you are an exisiting academic student, Lee_Stott has provided a detailed step-by-step on verifiying your student status with GitHub which can be found here: How to verify your student status on GitHub
- The latest version of VS Code: https://code.visualstudio.com/download
- If you already have VS Code installed make sure it is upgraded to the latest version by navigating to the following:
- Windows: Help > Check for updates...
- Mac: Code > Check for updates...
- If you already have VS Code installed make sure it is upgraded to the latest version by navigating to the following:
Setting up Copilot Chat in VS Code
Once you have received confirmation from GitHub via email that you have been included into GitHub Copilot Chat preview, you can begin your installation via the following steps:
- Run VS Code and click on the extension icon.
VS Code Extension Icon
- Type Copilot in the search bar located in the top left-hand side of the Extensions: Marketplace window.
- Select GitHub Copilot Chat.
- Click Install.
Installing GitHub Copilot Chat
- Sign-in using the GitHub account you received confirmation from GitHub via email that you have been included into GitHub Copilot Chat preview when prompted.
GitHub Sign-on prompt
- Click Allow when asked to allow the GitHub Copilot extension to sign-in using GitHub.
- A browser window should now open to GitHub's authentication page to ask for your authorization. Click Continue.
- An Open Visual Studio Code.app? pop-up will now appear. Click on Open Visual Studio Code.app to continue.
Allow for VS Code to open
- Back on VS Code, a pop-up will appear asking to allow the Copilot Extension to open the URI. Click Open to continue.
Allow for GitHub Copilot Chat to open the URI
- Close / Exit VS Code then run VS Code again.
- Click on the GitHub Copilot Chat Icon to get started using GitHub Copilot Chat.
GitHub Copilot Chat
Allison also has a great video that shares latest features of Copilot Chat and how they can supercharge your coding experience.
Please also feel free to share your comments and/or inquires in the comment section below.
Updated Nov 29, 2023
Version 10.0AnthonyBartolo
Microsoft
Joined December 14, 2017
Educator Developer Blog
Follow this blog board to get notified when there's new activity