Skip to content

Commit

Permalink
Merge pull request github#22357 from github/codespaces-devcontainer-u…
Browse files Browse the repository at this point in the history
…pdate

Add instructions on updating devcontainer features
  • Loading branch information
saritai authored Oct 26, 2021
2 parents 99a4d42 + bb92426 commit ab17d83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ You can add some of the most common features by selecting them when configuring

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

You can also add or remove features outside of the **Add Development Container Configuration Files** workflow.
1. Access the Command Palette (`Shift + Command + P` / `Ctrl + Shift + P`), then start typing "configure". Select **Codespaces: Configure Devcontainer Features**.
![The Configure Devcontainer Features command in the command palette](/assets/images/help/codespaces/codespaces-configure-features.png)
2. Update your feature selections, then click **OK**.
![The select additional features menu during container configuration.](/assets/images/help/codespaces/select-additional-features.png)
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)."
!["Codespaces: Rebuild Container" in the command palette](/assets/images/help/codespaces/rebuild-prompt.png)


## Creating a custom codespace configuration

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 %}
Expand Down

0 comments on commit ab17d83

Please sign in to comment.