Visual Studio Code コマンド(ショートカットキー)一覧
メニューコマンド
Windows | macOS | |
---|---|---|
新しくVSCodeを開く | Ctrl +Shift +N | command +shift +N |
画面を拡大する | Ctrl ++ | command +shift ++ |
画面を縮小する | Ctrl +- | command +- |
画面を標準サイズに戻す | Ctrl +NumPadの0 | command +NumPadの0 |
ファイル操作コマンド
Windows | macOS | |
---|---|---|
ファイルを開く | Ctrl +O | command +O |
フォルダを開く | Ctrl +K &Ctrl +O | command +O |
ファイルの保存 | Ctrl +S | command +S |
新しいファイルを開く | Ctrl +N | command +N |
名前を付けてファイルを保存 | Ctrl +Shift +S | command +shift +S |
全てのファイルを保存 | Ctrl +K &S | command +option +S |
ファイルを検索する | Ctrl +P | command +P |
サイドバー操作コマンド
Windows | macOS | |
---|---|---|
サイドバーの開閉 | Ctrl +B | command +B |
エクスプローラ(EXPLORER)を開く | Ctrl +Shift +E | command +shift +E |
開いているフォルダ内検索(SEARCH)を開く | Ctrl +Shift +F | command +shift +F |
ソースコントロール(SOURCE CONTROL)を開く | Ctrl +Shift +G | control +shift +G |
デバッグ(RUN & DEBUG)を開く | Ctrl +Shift +D | command +shift +D |
拡張機能(EXTENSIONS)を開く | Ctrl +Shift +X | command +shift +X |
パネル操作コマンド
Windows | macOS | |
---|---|---|
パネルの開閉 | Ctrl +J | command +J |
問題(PROBLEMS)を開閉 | Ctrl +Shift +M | command +shift +M |
出力(OUTPUT)を開閉 | Ctrl +Shift +U | command +shift +U |
デバッグコンソール(DEBUG CONSOLE)を開閉 | Ctrl +Shift +Y | command +shift +Y |
ターミナル(TERMINAL)を開く | Ctrl +@ | control +@ |
タブコマンド
Windows | macOS | |
---|---|---|
タブを閉じる | Ctrl +W | command +W |
タブを全て閉じる | Ctrl +K &W | command +K &W |
閉じたタブを再度開く | Ctrl +Shift +T | command +shift +T |
前後のタブに切り替える | Ctrl +PageUp orPageDown | command +option +← or→ |
タブを選択して切り替える | Ctrl +Tab | control +tab |
画面を横2分割にする | Ctrl +\ | control +command +option +\ |
エディタコマンド
Windows | macOS | |
---|---|---|
コピー (選択範囲指定がない場合は行コピー) | Ctrl +C | command +C |
切り取り (選択範囲指定がない場合は行切り取り) | Ctrl +X | command +X |
貼り付け | Ctrl +V | command +V |
元に戻す | Ctrl +Z | command +Z |
元に戻した操作を戻す | Ctrl +Y | command +Y |
ファイル内検索 | Ctrl +F | command +F |
ファイル内置換 | Ctrl +H | command +option +F |
同一単語を選択位置から順に選択 | Ctrl +D | command +D |
同一単語を全選択 | Ctrl +Shift +L | command +shift +L |
選択している行の下に行を追加 | Ctrl +Enter | command +enter |
選択している行の上に行を追加 | Ctrl +Shift +Enter | command +shift +enter |
選択している行の上下入れ替え | Alt +↑ or↓ | option +↑ or↓ |
選択している行をコピー | Shift +Alt +↑ or↓ | shift +option +↑ or↓ |
選択している行を削除 | Ctrl +Shift +K | command +shift +K |
選択している行をコメントアウト/解除 | Ctrl +/ | command +/ |
行を指定して移動 | Ctrl +G | control +G |
カーソルを単語の先頭・末尾に移動 | Ctrl +← or→ | command +← or→ |
カーソルをクリック位置に追加 | Alt +click | option +click |
カーソルを上下に追加 | Ctrl +Alt +↑ or↓ | command +option +↑ or↓ |
カーソルを上下に追加(マウスで) | Shift +Alt +ドラッグ | shift +option +ドラッグ |
タグを整列 | Shift +Alt +F | shift +option +F |
その他コマンド
Windows | macOS | |
---|---|---|
設定(Settings)を開く | Ctrl +, | command +, |
コマンドパレットを開く | Ctrl +Shift +P | command +shift +P |
ショートカットキーの設定を開く (Keyboard Shortcuts) | Ctrl +K &Ctrl +S | command +K &command +S |
Quick Open ビューを開く | Ctrl +Q | control +Q |
最近のコメント