LoginSignup
8
8

More than 1 year has passed since last update.

【Mac版】VSCodeショートカットキー まとめ

Last updated at Posted at 2021-04-09

【効率アップ】と【忘れないこと】が目的で都度更新しながらまとめています!

なんだっけこの操作のショートカットキー、、、
そんな時の役に経てば嬉しいです!!

Visual Studio Code

コマンド 動作 補足
command + O ファイル変更
command + S 保存
command + N 新規ファイル
command + Z 1つ前に戻る
command + W ウィンドウを閉じる
command + T 追加ファイル
command + Shift + Z 1つ先に進む
command + Shift + T 直前で閉じたタブを開き直す
command + P ファイル名検索 (ファイル名に続けて:100を追加することで100行目に移動)
command + R ファイル内検索
command + D 同じ単語を探す 単語にカーソルがある状態
command + / コメントアウト 行にカーソルあればOK
Tab 複数行のインテンド移動(右) 複数選択した後
Tab + Shift 複数行のインテンド移動(左) 複数選択した後
shift + option + 矢印 コードの複製 行にカーソルあればOK
option + 矢印 コードの移動 行にカーソルあればOK
option + ¥ \ (バックスラッシュ)       
option + shift 複数行同時記述       
control + A カーソルを行の先頭に移動 
control + E カーソルを行の後方に移動 
command + shift + W VS Codeを閉じる      
command + W アクティブなエデュタを閉じる   アクティブなエデュタが無い場合、VS Codeが閉じるので注意
command + B       サイドバーの表示/非表示   
command + Shift + F       サイドバーに検索窓を表示   
control + G エデュタ内での行移動   

Mac のキーボードショートカット

コマンド 動作 補足
command + X 切り取り (コピー+削除)
command + C コピー
command + V ペースト(貼り付け)
command + Z 1つ前に戻る
command + Z + shift 1つ先に進む
command + A 項目をすべて選択
command + F 開いてるファイル内を検索
command + G      直前に検索した項目が次に出現する箇所を表示。
command + G + shift 前に出現した箇所を検索
command + H 最前面の App のウインドウを非表示
command + option + Z 最前面以外の App のウインドウを非表示
command + M 最前面のウインドウを最小化し、Dock にしまう
command + option + M 最前面のAppのウインドウを全て最小化する
command + P プリントする
command + S 保存する
command + T 新規タブを開く
command + W 最前面のウインドウを閉じる
command + W + option Appのウィンドウ全て削除
command + esc:App + option 強制終了
command + スペースバー Spotlight 検索フィールドの表示
command + スペースバー + control 文字ビューアを表示
command + F + control App をフルスクリーンにする
command + tab 最近使ったAppに切り替え
command + shift + 5 スクリーンショットor画面収録 の選択画面
command + shift + 3 スクリーンショット実行
command + shift + N Finder で新しいフォルダを作成
command + カンマ (,) 最前面の App の環境設定を開く
8
8
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8