1
0
mirror of synced 2025-12-25 11:03:37 -05:00

Update Codespaces articles to match GUI changes in VS Code (#34148)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
hubwriter
2023-01-27 17:12:46 +00:00
committed by GitHub
parent 29c3c167b0
commit 933301f7a3
16 changed files with 49 additions and 32 deletions

View File

@@ -28,45 +28,45 @@ You can access the {% data variables.product.prodname_vscode_command_palette_sho
- <kbd>F1</kbd>
- From the Application Menu, click **View > Command Palette…**.
![The application menu](/assets/images/help/codespaces/codespaces-view-menu.png)
![Screenshot of the application menu](/assets/images/help/codespaces/codespaces-view-menu.png)
## Commands for {% data variables.product.prodname_codespaces %}
To see all commands related to {% data variables.product.prodname_github_codespaces %}, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "Codespaces".
To see all commands related to {% data variables.product.prodname_github_codespaces %}, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-vs-code-command-palette), then start typing "Codespaces".
![A list of all commands that relate to {% data variables.product.prodname_github_codespaces %}](/assets/images/help/codespaces/codespaces-command-palette.png)
![Screenshot of a list of all commands that relate to {% data variables.product.prodname_github_codespaces %}](/assets/images/help/codespaces/codespaces-command-palette.png)
### Suspending or stopping a codespace
If you add a new secret or change the machine type, you'll have to stop and restart the codespace for it to apply your changes.
If you add a new secret or change the machine type, you'll have to stop and restart the codespace for it to apply your changes.
To suspend or stop your codespace's container, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "stop". Select **Codespaces: Stop Current Codespace**.
To suspend or stop your codespace's container, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-vs-code-command-palette), then start typing "stop". Select **Codespaces: Stop Current Codespace**.
![Command to stop a codespace](/assets/images/help/codespaces/codespaces-stop.png)
![Screenshot of the command to stop a codespace](/assets/images/help/codespaces/codespaces-stop.png)
### Adding a predefined dev container configuration
To add a predefined dev container configuration, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "dev container". Select **Codespaces: Add Development Container Configuration Files...**
To add a predefined dev container configuration, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-vs-code-command-palette), then start typing "dev container". Select **Codespaces: Configure Dev Container**.
![Command to add a dev container](/assets/images/help/codespaces/add-prebuilt-container-command.png)
![Screenshot of the command to add a dev container](/assets/images/help/codespaces/add-prebuilt-container-command.png)
### Rebuilding a codespace
If you add a dev container or edit any of the configuration files (`devcontainer.json` and `Dockerfile`), you'll have to rebuild your codespace for it to apply your changes.
If you add a dev container or edit any of the configuration files (`devcontainer.json` and `Dockerfile`), you'll have to rebuild your codespace for it to apply your changes.
To rebuild your container, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "rebuild". Select **Codespaces: Rebuild Container**.
To rebuild your container, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-vs-code-command-palette), then start typing "rebuild". Select **Codespaces: Rebuild Container**.
![Command to rebuild a codespace](/assets/images/help/codespaces/codespaces-rebuild.png)
![Screenshot of the command to rebuild a codespace](/assets/images/help/codespaces/codespaces-rebuild.png)
{% data reusables.codespaces.full-rebuild-tip %}
### Codespaces logs
You can use the {% data variables.product.prodname_vscode_command_palette_shortname %} to access the codespace creation logs, or you can use it export all logs.
You can use the {% data variables.product.prodname_vscode_command_palette_shortname %} to access the codespace creation logs, or you can use it export all logs.
To retrieve the logs for {% data variables.product.prodname_github_codespaces %}, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "log". Select **Codespaces: Export Logs** to export all logs related to {% data variables.product.prodname_github_codespaces %} or select **Codespaces: View Creation Logs** to view logs related to the setup.
To retrieve the logs for {% data variables.product.prodname_github_codespaces %}, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-vs-code-command-palette), then start typing "log". Select **Codespaces: Export Logs** to export all logs related to {% data variables.product.prodname_github_codespaces %} or select **Codespaces: View Creation Logs** to view logs related to the setup.
![Command to access logs](/assets/images/help/codespaces/codespaces-logs.png)
![Screenshot of the command to access logs](/assets/images/help/codespaces/codespaces-logs.png)
## Further reading