* Add crowdin translations * Run script/i18n/homogenize-frontmatter.js * Run script/i18n/lint-translation-files.js --check rendering * run script/i18n/reset-files-with-broken-liquid-tags.js --language=ja * run script/i18n/reset-known-broken-translation-files.js * Check in ja CSV report Co-authored-by: Hector Alfaro <hectorsector@github.com>
69 lines
4.7 KiB
Markdown
69 lines
4.7 KiB
Markdown
---
|
||
title: Using the Visual Studio Code Command Palette in GitHub Codespaces
|
||
intro: 'You can use the Command Palette feature of {% data variables.product.prodname_vscode %} to access many commands in {% data variables.product.prodname_github_codespaces %}.'
|
||
versions:
|
||
fpt: '*'
|
||
ghec: '*'
|
||
type: reference
|
||
topics:
|
||
- Codespaces
|
||
- Visual Studio Code
|
||
product: '{% data reusables.gated-features.codespaces %}'
|
||
shortTitle: VS Code Command Palette
|
||
allowTitleToDifferFromFilename: true
|
||
redirect_from:
|
||
- /codespaces/codespaces-reference/using-the-command-palette-in-codespaces
|
||
---
|
||
|
||
## {% data variables.product.prodname_vscode_command_palette %} について
|
||
|
||
The Command Palette is one of the focal features of {% data variables.product.prodname_vscode %} and is available for you to use in {% data variables.product.prodname_github_codespaces %}. The {% data variables.product.prodname_vscode_command_palette %} allows you to access many commands for {% data variables.product.prodname_codespaces %} and {% data variables.product.prodname_vscode_shortname %}. For more information on using the {% data variables.product.prodname_vscode_command_palette_shortname %}, see "[User Interface](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette)" in the {% data variables.product.prodname_vscode_shortname %} documentation.
|
||
|
||
## Accessing the {% data variables.product.prodname_vscode_command_palette_shortname %}
|
||
|
||
You can access the {% data variables.product.prodname_vscode_command_palette_shortname %} in a number of ways.
|
||
|
||
- <kbd>Shift</kbd>+<kbd>Command</kbd>+<kbd>P</kbd> (Mac) / <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> (Windows/Linux).
|
||
|
||
このコマンドは Firefox で指定されているキーボードショートカットになりますので、ご注意ください。
|
||
- <kbd>F1</kbd>
|
||
- アプリケーションメニューから、**[View] > [Command Palette…]** をクリックします。
|
||
|
||

|
||
|
||
## {% data variables.product.prodname_codespaces %} のコマンド
|
||
|
||
To see all commands related to {% data variables.product.prodname_codespaces %}, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "Codespaces".
|
||
|
||

|
||
|
||
### 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.
|
||
|
||
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". [**Codespaces: Stop Current Codespace**] を選択します。
|
||
|
||

|
||
|
||
### テンプレートから開発コンテナを追加する
|
||
|
||
To add a dev container from a template, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "dev container". [**Codespaces: Add Development Container Configuration Files...**] を選択します。
|
||
|
||

|
||
|
||
### Codespace を再構築する
|
||
|
||
開発コンテナを追加するか、設定ファイル(`devcontainer.json` および `Dockerfile`)のいずれかを編集する場合、変更を適用するために codespace を再構築する必要があります。
|
||
|
||
To rebuild your container, [access the {% data variables.product.prodname_vscode_command_palette_shortname %}](#accessing-the-command-palette), then start typing "rebuild". **Codespaces: Rebuild Container(Codespaces: コンテナをリビルド)**を選択してください。
|
||
|
||

|
||
|
||
### Codespace のログ
|
||
|
||
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_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_codespaces %} or select **Codespaces: View Creation Logs** to view logs related to the setup.
|
||
|
||

|