Using GitHub Copilot in GitHub Codespaces
You can use GitHub Copilot in GitHub Codespaces by adding a VS Code extension.
GitHub Copilot is an AI pair programmer that you can use in any codespace that you open in the VS Code web client or desktop application. For more information about GitHub Copilot, seeWhat is GitHub Copilot?.
To start using GitHub Copilot in GitHub Codespaces, install theGitHub Copilot extension from the Visual Studio Code Marketplace.
To include GitHub Copilot, or other extensions, in all of your codespaces, enable Settings Sync. For more information, seePersonalizing GitHub Codespaces for your account. Additionally, to include GitHub Copilot in a given project for all users, you can specifyGitHub.copilot
as an extension in yourdevcontainer.json
file. For information about configuring adevcontainer.json
file, seeIntroduction to dev containers.