* Fix errors in education product * Fix errors in admin configuration docs * Fix a few stray errors * This works as is * Sundry fixes picked up by Vale * Another batch * Today's batch of content fixes * Sundry fixes * More small updates * Don't introduce a typo when we're trying to fix them * Update content/admin/authentication/using-ldap.md Co-authored-by: Laura Coursen <lecoursen@github.com> Co-authored-by: Laura Coursen <lecoursen@github.com>
51 lines
3.9 KiB
Markdown
51 lines
3.9 KiB
Markdown
---
|
|
title: Using Codespaces in Visual Studio Code
|
|
intro: 'You can develop in your codespace directly in {% data variables.product.prodname_vscode %} by connecting the {% data variables.product.prodname_github_codespaces %} extension with your account on {% data variables.product.product_name %}.'
|
|
product: '{% data reusables.gated-features.codespaces %}'
|
|
redirect_from:
|
|
- /github/developing-online-with-codespaces/connecting-to-your-codespace-from-visual-studio-code
|
|
versions:
|
|
free-pro-team: '*'
|
|
---
|
|
|
|
{% data reusables.codespaces.release-stage %}
|
|
|
|
### Prerequisites
|
|
|
|
To develop in a codespace directly in {% data variables.product.prodname_vscode %}, you must sign into the {% data variables.product.prodname_github_codespaces %} extension. The {% data variables.product.prodname_github_codespaces %} extension requires {% data variables.product.prodname_vscode %} October 2020 Release 1.51 or later.
|
|
|
|
1. Use the {% data variables.product.prodname_vs %} Marketplace to install the [{% data variables.product.prodname_github_codespaces %}](https://marketplace.visualstudio.com/items?itemName=GitHub.codespaces) extension. For more information, see [Extension Marketplace](https://code.visualstudio.com/docs/editor/extension-gallery) in the {% data variables.product.prodname_vscode %} documentation.
|
|
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
|
|
2. Use the "REMOTE EXPLORER" drop-down, then click **{% data variables.product.prodname_github_codespaces %}**.
|
|

|
|
3. Click **Sign in to view {% data variables.product.prodname_codespaces %}...**.
|
|

|
|
4. To authorize {% data variables.product.prodname_vscode %} to access your account on {% data variables.product.product_name %}, click **Allow**.
|
|
5. Sign in to {% data variables.product.product_name %} to approve the extension.
|
|
|
|
### Creating a codespace in {% data variables.product.prodname_vscode %}
|
|
|
|
After you connect your {% data variables.product.product_name %} account to the {% data variables.product.prodname_vs_codespaces %} extension, you can develop in a codespace that you created on {% data variables.product.product_name %} or in {% data variables.product.prodname_vscode %}.
|
|
|
|
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
|
|
2. Click the Add icon, then click **Create New Codespace**.
|
|

|
|
3. Type, then click the repository's name you want to develop in.
|
|

|
|
4. Click the branch you want to develop on.
|
|

|
|
5. Click the instance type you want to develop in.
|
|

|
|
### Opening a codespace in {% data variables.product.prodname_vscode %}
|
|
|
|
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
|
|
2. Under "Codespaces", click the codespace you want to develop in.
|
|
3. Click the Connect to Codespace icon.
|
|

|
|
|
|
### Deleting a codespace in {% data variables.product.prodname_vscode %}
|
|
|
|
1. Under "Codespaces", right-click the codespace you want to delete.
|
|
2. In the drop-down menu, click **Delete Codespace**.
|
|

|