Shortcuts

Keyboard Shortcuts editor

Visual Studio Code provides a rich and easy keyboard shortcuts editing experience using Keyboard Shortcuts editor. It lists all available commands with and without keybindings and you can easily change / remove / reset their keybindings using the available actions. It also has a search box on the top that helps you in finding commands or keybindings. You can open this editor by going to the menu under File > Preferences > Keyboard Shortcuts. (Code > Preferences > Keyboard Shortcuts on macOS)

Visual Studio Codeは、Keyboard Shortcuts エディタを使用して、豊富で簡単なキーボードショートカットの編集体験を提供します。 キーバインドがあるものとないものがリストアップされ、利用可能なアクションを使用して簡単にキーバインドを変更/削除/リセットすることができます。 また、上部に検索ボックスがあり、コマンドやキーバインドを見つけるのに役立ちます。 このエディターは、メニューの File > Preferences > Keyboard Shortcuts で開くことができます。(macOSの場合、Code > Preferences > Keyboard Shortcuts )

Keyboard Shortcuts Reference

We also have a printable version of these keyboard shortcuts. Help > Keyboard Shortcut Reference displays a condensed PDF version suitable for printing as an easy reference.

これらのキーボードショートカットは、印刷用もご用意しています。 Help > Keyboard Shortcut Reference には、簡単に参照できるように、印刷に適した凝縮されたPDF版が表示されます。

Advanced customization

All keyboard shortcuts in VS Code can be customized via the keybindings.json file.

  • To configure keyboard shortcuts through the JSON file, open Keyboard Shortcuts editor and select the Open Keyboard Shortcuts (JSON) button on the right of the editor title bar.
  • This will open your keybindings.json file where you can overwrite the Default Keybindings.

You can also open the keybindings.json file from the Command Palette (Ctrl+Shift+P) with the Preferences: Open Keyboard Shortcuts (JSON) command.

VS Codeのすべてのキーボードショートカットは、keybindings.json ファイルを通じてカスタマイズすることができます。

  • JSONファイルを通してキーボードショートカットを設定するには、 Keyboard Shortcuts エディタを開き、エディタのタイトルバーの右側にある Open Keyboard Shortcuts (JSON) ボタンを選択します。
  • これで keybindings.json ファイルが開き、デフォルトのキーバインドを上書きすることができます。

また、コマンドパレット (Ctrl+Shift+P) から Preferences: Open Keyboard Shortcuts (JSON) コマンドで keybindings.json ファイルを開くことができます。

Default Keyboard Shortcuts

下記リンクにデフォルトキーボードショートカットのテーブル。

You can view all default keyboard shortcuts in VS Code in the Keyboard Shortcuts editor with the Show Default Keybindings command in the More Actions (...) menu. This applies the @source:default filter to the Keyboard Shortcuts editor (Source is 'Default').

You can view the default keyboard shortcuts as a JSON file using the command Preferences: Open Default Keyboard Shortcuts (JSON).

VS Codeの Keyboard Shortcuts エディタで、More Actions (...)メニューの Show Default Keybindings コマンドを使用して、すべてのデフォルトのキーボードショートカットを表示することができます。 これにより、@source:defaultフィルタが Keyboard Shortcuts エディタに適用されます(Source は 'Default')。

ショートカットは、Preferences: Open Keyboard Shortcuts (JSON) コマンドを使用してJSONファイルとして表示することができます。