Skip to content

Commit ab17d83

Browse files
authored
Merge pull request #22357 from github/codespaces-devcontainer-update
Add instructions on updating devcontainer features
2 parents 99a4d42 + bb92426 commit ab17d83

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Loading

content/codespaces/customizing-your-codespace/configuring-codespaces-for-your-project.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,15 @@ You can add some of the most common features by selecting them when configuring
106106

107107
![The select additional features menu during container configuration.](/assets/images/help/codespaces/select-additional-features.png)
108108

109+
You can also add or remove features outside of the **Add Development Container Configuration Files** workflow.
110+
1. Access the Command Palette (`Shift + Command + P` / `Ctrl + Shift + P`), then start typing "configure". Select **Codespaces: Configure Devcontainer Features**.
111+
![The Configure Devcontainer Features command in the command palette](/assets/images/help/codespaces/codespaces-configure-features.png)
112+
2. Update your feature selections, then click **OK**.
113+
![The select additional features menu during container configuration.](/assets/images/help/codespaces/select-additional-features.png)
114+
1. To apply the changes, in the bottom right corner of the screen, click **Rebuild now**. For more information about rebuilding your container, see "[Applying changes to your configuration](#applying-changes-to-your-configuration)."
115+
!["Codespaces: Rebuild Container" in the command palette](/assets/images/help/codespaces/rebuild-prompt.png)
116+
117+
109118
## Creating a custom codespace configuration
110119

111120
If none of the predefined configurations meet your needs, you can create a custom configuration by adding a `devcontainer.json` file. {% data reusables.codespaces.devcontainer-location %}

0 commit comments

Comments
 (0)