1
0
mirror of synced 2026-01-08 03:01:54 -05:00
Files
docs/translations/ja-JP/content/codespaces/codespaces-reference/using-the-vs-code-command-palette-in-codespaces.md
docubot 297f1779bc New translation batch for ja (#29110)
* 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>
2022-07-18 13:52:55 +00:00

69 lines
4.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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…]** をクリックします。
![アプリケーションメニュー](/assets/images/help/codespaces/codespaces-view-menu.png)
## {% 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".
![Codespaces に関連するすべてのコマンドのリスト](/assets/images/help/codespaces/codespaces-command-palette.png)
### 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**] を選択します。
![Codespace を停止するコマンド](/assets/images/help/codespaces/codespaces-stop.png)
### テンプレートから開発コンテナを追加する
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...**] を選択します。
![開発コンテナを追加するコマンド](/assets/images/help/codespaces/add-prebuilt-container-command.png)
### 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 ContainerCodespaces: コンテナをリビルド)**を選択してください。
![Codespace を再構築するコマンド](/assets/images/help/codespaces/codespaces-rebuild.png)
### 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.
![ログにアクセスするコマンド](/assets/images/help/codespaces/codespaces-logs.png)