Note: Codespaces is currently in limited public beta and subject to change. For more information about joining the beta, see "About Codespaces."
Codespaces provides you with the full development experience of Visual Studio Code. You can edit code, debug, and use Git commands while developing in a codespace with Visual Studio Code. For more information, see the Visual Studio Code documentation.
- Side Bar - By default, this area shows your project files in the Explorer.
- Activity Bar - This displays the Views and provides you with a way to switch between them. You can reorder the Views by dragging and dropping them.
- Editor - This is where you edit your files. You can use the tab for each editor to position it exactly where you need it.
- Panels - This is where you can see output and debug information, as well as the default place for the integrated Terminal.
- Status Bar - This area provides you with useful information about your codespace and project. For example, the branch name, configured ports, and more.
For more information on using Visual Studio Code, see the User Interface guide in the Visual Studio Code documentation.
You can connect to your codespace directly from Visual Studio Code. For more information, see "Using Codespaces in Visual Studio Code."
For the best experience with Codespaces, we recommend using a Chromium-based browser, like Google Chrome or Microsoft Edge. For more information, see "Troubleshooting your codespace."
You can also use a dotfiles repository and Settings Sync to personalize aspects of the codespace environment for any codespace that you create. Personalization can include shell preferences and additional tools. For more information, see "Personalizing Codespaces for your account."
After the Codespaces configuration for a repository changes, you can apply the changes to an existing codespace by rebuilding the container for the codespace. For more information, see "Configuring Codespaces for your project."
You can forward ports in your codespace to test and debug your application. For more information, see "Forwarding ports in your codespace."
Once you've made changes to your codespace, either new code or configuration changes, you'll want to commit your changes. Committing changes to your repository ensures that anyone else who creates a codespace from this repository has the same configuration. This also means that any customization you do, such as adding Visual Studio Code extensions, will appear for all users.
For information, see "Using source control in your codespace."
The Command Palette allows you to access and manage many features for Codespaces and Visual Studio Code. For more information, see "Using the Command Palette in Codespaces."
- You can see every available codespace that you have created at github.com/codespaces.
- Click the name of the codespace you want to develop in.
Alternatively, you can see any active codespaces for a repository by navigating to the repository in which it was made and selecting Codespaces.