1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/data/reusables/codespaces/creating-a-codespace-in-vscode.md
2022-08-05 16:24:25 -06:00

2.1 KiB

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.

{% 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_codespaces %}

  1. Type the name of the repository you want to develop in, then select it.

    Searching for repository to create a new {% data variables.product.prodname_codespaces %}

  2. Click the branch you want to develop on.

    Searching for a branch to create a new {% data variables.product.prodname_codespaces %}

  3. 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_codespaces %}

  4. Click the machine type you want to use.

    Instance types for a new {% data variables.product.prodname_codespaces %}

    {% note %}

    Note: {% data reusables.codespaces.codespaces-machine-type-availability %}

    {% endnote %}