Skip to content

Commit 9f9992b

Browse files
authored
Merge branch 'main' into repo-sync
2 parents 736a2f6 + 149f417 commit 9f9992b

5 files changed

Lines changed: 29 additions & 0 deletions

File tree

170 KB
Loading
85.4 KB
Loading
16.6 KB
Loading

content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,30 @@ After you connect your {% data variables.product.product_name %} account to the
4545
3. Click the Connect to Codespace icon.
4646
![The Connect to Codespace icon in {% data variables.product.prodname_vscode %}](/assets/images/help/codespaces/click-connect-to-codespace-icon-vscode.png)
4747

48+
### Changing the machine type in {% data variables.product.prodname_vscode %}
49+
50+
You can run your codespace on a choice of three types of machine: Basic, Standard, or Premium. Each of these has a different level of resources and a different billing tier.
51+
52+
{% note %}
53+
54+
**Note:** {% data reusables.codespaces.about-billing-for-codespaces %}
55+
56+
{% endnote %}
57+
58+
{% data reusables.codespaces.codespaces-machine-types %}
59+
60+
You can change the machine type of your codespace at any time.
61+
62+
1. In {% data variables.product.prodname_vscode %}, open the Command Palette (`shift command P` / `shift control P`).
63+
2. Search for and select "Codespaces: Change Machine Type."
64+
![Searching for a branch to create a new {% data variables.product.prodname_codespaces %}](/assets/images/help/codespaces/vscode-change-machine-type-option.png)
65+
3. Click the codespace that you want to change.
66+
![Searching for a branch to create a new {% data variables.product.prodname_codespaces %}](/assets/images/help/codespaces/vscode-change-machine-choose-repo.png)
67+
4. Choose the machine type you want to use.
68+
![Searching for a branch to create a new {% data variables.product.prodname_codespaces %}](/assets/images/help/codespaces/vscode-change-machine-choose-type.png)
69+
70+
If the codespace is currently running, a message is displayed asking if you would like to restart and reconnect to your codespace now. Click **Yes** if you want to change the machine type used for this codespace immediately. If you click **No**, or if the codespace is not currently running, the change will take effect the next time the codespace restarts.
71+
4872
### Deleting a codespace in {% data variables.product.prodname_vscode %}
4973

5074
1. Under "Codespaces", right-click the codespace you want to delete.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Being able to switch machine types gives you the flexibility you need to choose appropriate resources to fit the work you are doing. As a guide, you might choose different machine types for these tasks:
2+
3+
* **Basic** for updating a file and raising a pull request
4+
* **Standard** for editing a website
5+
* **Premium** for high compute tasks such as data analysis

0 commit comments

Comments
 (0)