1
0
mirror of synced 2026-01-09 15:02:41 -05:00
Files
docs/translations/ja-JP/content/codespaces/codespaces-reference/using-the-vs-code-command-palette-in-codespaces.md
2022-11-25 16:53:34 +00:00

5.7 KiB

title, intro, versions, type, topics, shortTitle, allowTitleToDifferFromFilename, redirect_from, ms.openlocfilehash, ms.sourcegitcommit, ms.translationtype, ms.contentlocale, ms.lasthandoff, ms.locfileid
title intro versions type topics shortTitle allowTitleToDifferFromFilename redirect_from ms.openlocfilehash ms.sourcegitcommit ms.translationtype ms.contentlocale ms.lasthandoff ms.locfileid
GitHub Codespaces で Visual Studio Code のコマンド パレットを使う {% data variables.product.prodname_vscode %} のコマンド パレット機能を使用して、{% data variables.product.prodname_github_codespaces %} 内の多くのコマンドにアクセスできます。
fpt ghec
* *
reference
Codespaces
Visual Studio Code
VS Code Command Palette true
/codespaces/codespaces-reference/using-the-command-palette-in-codespaces
acd462dd1c0b60dced529d7471b9c8638e2f6e91 3ff64a8c8c HT ja-JP 11/22/2022 148180812

{% data variables.product.prodname_vscode_command_palette %}について

{% data variables.product.prodname_vscode_command_palette_shortname %} は、{% data variables.product.prodname_github_codespaces %} で使用できる {% data variables.product.prodname_vscode %} の中心的な機能の 1 つです。 コマンド パレットを使用すると、{% data variables.product.prodname_github_codespaces %} および {% data variables.product.prodname_vscode_shortname %} の多くのコマンドにアクセスできます。 {% data variables.product.prodname_vscode_command_palette_shortname %}を使うことについて詳しくは、{% data variables.product.prodname_vscode_shortname %} のドキュメントの「ユーザー インターフェイス」を参照してください。

{% data variables.product.prodname_vscode_command_palette_shortname %}にアクセスする

{% data variables.product.prodname_vscode_command_palette_shortname %}には多くの方法でアクセスできます。

  • Shift+Command+P (Mac) / Ctrl+Shift+P (Windows/Linux)。

    このコマンドは Firefox で指定されているキーボードショートカットになりますので、ご注意ください。

  • F1

  • [アプリケーション] メニューの [表示] > [コマンド パレット]... をクリックします。

    アプリケーションメニュー

{% data variables.product.prodname_codespaces %} 用のコマンド

{% data variables.product.prodname_github_codespaces %} に関連するすべてのコマンドを表示するには、{% data variables.product.prodname_vscode_command_palette_shortname %}にアクセスしてから、「Codespaces」と入力します。

{% data variables.product.prodname_github_codespaces %} に関連するすべてのコマンドの一覧

Codespace のサスペンドまたは停止

新しいシークレットを追加したり、マシンの種類を変更した場合、codespace を停止および再起動して変更を適用する必要があります。

codespace のコンテナーを中断または停止するには、{% data variables.product.prodname_vscode_command_palette_shortname %}にアクセスし、「停止」と入力します。 [Codespaces: 現在の Codespace を停止] を選びます。

Codespace を停止するコマンド

事前定義済みの開発コンテナー構成の追加

事前定義済みの開発コンテナー構成を追加するには、{% data variables.product.prodname_vscode_command_palette_shortname %} にアクセスしてから、"dev container" と入力します。 [Codespaces: 開発コンテナー構成ファイルの追加...] を選びます。

開発コンテナを追加するコマンド

Codespace を再構築する

開発コンテナーを追加したり、構成ファイル (devcontainer.json および Dockerfile) のいずれかを編集した場合、codespace を再構築して変更を適用する必要があります。

コンテナーを再構築するには、{% data variables.product.prodname_vscode_command_palette_shortname %}にアクセスし、「再構築」と入力します。 [Codespaces: コンテナーのリビルド] を選択します。

Codespace を再構築するコマンド

{% data reusables.codespaces.full-rebuild-tip %}

Codespace のログ

{% data variables.product.prodname_vscode_command_palette_shortname %}を使うと、codespace 作成ログにアクセスすることも、すべてのログをエクスポートすることもできます。

{% data variables.product.prodname_github_codespaces %} のログを取得するには、{% data variables.product.prodname_vscode_command_palette_shortname %} にアクセスしてから、"log" と入力します。 [Codespaces: ログのエクスポート] を選び、{% data variables.product.prodname_github_codespaces %} に関連するすべてのログをエクスポートするか、 [Codespaces: 作成ログの表示] を選び、セットアップに関連するログを表示します。

ログにアクセスするコマンド

参考資料