1
0
mirror of synced 2025-12-31 15:04:15 -05:00
Files
docs/data/reusables/codespaces/creating-a-codespace-in-vscode.md
2022-10-04 08:26:26 +00:00

37 lines
2.1 KiB
Markdown

After you connect your account on {% data variables.product.product_location %} to the {% data variables.product.prodname_github_codespaces %} extension, you can create a new codespace. For more information about the {% data variables.product.prodname_github_codespaces %} extension, see the [{% data variables.product.prodname_vs_marketplace_shortname %} marketplace](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces).
{% note %}
**Note**: Currently, {% data variables.product.prodname_vscode_shortname %} doesn't allow you to choose a dev container configuration when you create a codespace. If you want to choose a specific dev container configuration, use the {% data variables.product.prodname_dotcom %} web interface to create your codespace. For more information, click the **Web browser** tab at the top of this page.
{% endnote %}
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
2. Click the Add icon: {% octicon "plus" aria-label="The plus icon" %}.
![The Create new Codespace option in {% data variables.product.prodname_github_codespaces %}](/assets/images/help/codespaces/create-codespace-vscode.png)
3. Type the name of the repository you want to develop in, then select it.
![Searching for repository to create a new codespace](/assets/images/help/codespaces/choose-repository-vscode.png)
If codespaces are billable for the repository you choose, a message will be displayed in subsequent prompts telling you who will pay for the codespace.
4. Click the branch you want to develop on.
![Searching for a branch to create a new codespace](/assets/images/help/codespaces/choose-branch-vscode.png)
5. If prompted to choose a dev container configuration file, choose a file from the list.
![Choosing a dev container configuration file for {% data variables.product.prodname_github_codespaces %}](/assets/images/help/codespaces/choose-dev-container-vscode.png)
6. Click the machine type you want to use.
![Instance types for a new codespace](/assets/images/help/codespaces/choose-sku-vscode.png)
{% note %}
**Note**: {% data reusables.codespaces.codespaces-machine-type-availability %}
{% endnote %}