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 Copilot, see What is Copilot?.
To start using Copilot in Codespaces, install the Copilot extension from the Visual Studio Code Marketplace.
To include Copilot, or other extensions, in all of your codespaces, enable Settings Sync. For more information, see Personalizing Codespaces for your account. Additionally, to include Copilot in a given project for all users, you can specify .copilot
as an extension in your devcontainer.json
file. For information about configuring a devcontainer.json
file, see Introduction to dev containers.