GitHub Codespaces extension update (#16453)
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 123 KiB |
BIN
assets/images/help/codespaces/choose-sku-vscode.png
Normal file
|
After Width: | Height: | Size: 211 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 295 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 383 KiB |
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 165 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 545 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 406 KiB |
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Using Codespaces in Visual Studio Code
|
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_vs_codespaces %} extension with your account on {% data variables.product.product_name %}.'
|
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 %}'
|
product: '{% data reusables.gated-features.codespaces %}'
|
||||||
redirect_from:
|
redirect_from:
|
||||||
- /github/developing-online-with-codespaces/connecting-to-your-codespace-from-visual-studio-code
|
- /github/developing-online-with-codespaces/connecting-to-your-codespace-from-visual-studio-code
|
||||||
@@ -12,22 +12,16 @@ versions:
|
|||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
Before you can develop in a codespace directly in {% data variables.product.prodname_vscode %}, you must configure the {% data variables.product.prodname_vs_codespaces %} extension to connect to your {% data variables.product.product_name %} account.
|
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_vs_codespaces %}](https://marketplace.visualstudio.com/items?itemName=ms-vsonline.vsonline) extension. For more information, see [Extension Marketplace](https://code.visualstudio.com/docs/editor/extension-gallery) in the {% data variables.product.prodname_vscode %} documentation.
|
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.
|
||||||
2. In {% data variables.product.prodname_vscode %}, in the left sidebar, click the Extensions icon.
|
|
||||||

|
|
||||||
3. Below {% data variables.product.prodname_vs_codespaces %}, click the Manage icon, then click **Extension Settings**.
|
|
||||||

|
|
||||||
4. Use the Codespaces: Account Provider drop-down menu, and click **{% data variables.product.prodname_dotcom %}**.
|
|
||||||

|
|
||||||
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
|
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
|
||||||
6. If {% data variables.product.prodname_codespaces %} is not already selected in the header, click **{% data variables.product.prodname_codespaces %}**.
|
2. Use the "REMOTE EXPLORER" drop-down, then click **{% data variables.product.prodname_github_codespaces %}**.
|
||||||

|

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

|

|
||||||
8. To authorize {% data variables.product.prodname_vscode %} to access your account on {% data variables.product.product_name %}, click **Allow**.
|
4. To authorize {% data variables.product.prodname_vscode %} to access your account on {% data variables.product.product_name %}, click **Allow**.
|
||||||
9. Sign in to {% data variables.product.product_name %} to approve the extension.
|
5. Sign in to {% data variables.product.product_name %} to approve the extension.
|
||||||
|
|
||||||
### Creating a codespace in {% data variables.product.prodname_vscode %}
|
### Creating a codespace in {% data variables.product.prodname_vscode %}
|
||||||
|
|
||||||
@@ -38,9 +32,10 @@ After you connect your {% data variables.product.product_name %} account to the
|
|||||||

|

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

|

|
||||||
4. Click the branch 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 %}
|
### Opening a codespace in {% data variables.product.prodname_vscode %}
|
||||||
|
|
||||||
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
|
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
|
||||||
|
|||||||