VS Code チートシート
検索・印刷できる Visual Studio Code のリファレンス:編集、ナビゲーション、マルチカーソル、検索、ターミナルのキーボードショートカット。無料。
Command palette & general
9Cmd/Ctrl + Shift + P
Command palette (run any command)
Cmd/Ctrl + P
Quick open a file by name
Cmd/Ctrl + Shift + N
New editor window
Cmd/Ctrl + ,
Open settings
Cmd/Ctrl + K Cmd/Ctrl + S
Open keyboard shortcuts
Cmd/Ctrl + S
Save file
Cmd/Ctrl + Shift + S
Save as
Cmd/Ctrl + W
Close editor
Cmd/Ctrl + Shift + T
Reopen the last closed editor
Editing
11Cmd/Ctrl + X
Cut line (no selection)
Cmd/Ctrl + C
Copy line (no selection)
Alt + ↑ / ↓ (Opt on Mac)
Move line up / down
Shift + Alt + ↑ / ↓
Copy line up / down
Cmd/Ctrl + Shift + K
Delete line
Cmd/Ctrl + Enter
Insert line below
Cmd/Ctrl + Shift + Enter
Insert line above
Cmd/Ctrl + /
Toggle line comment
Shift + Alt + A
Toggle block comment
Cmd/Ctrl + ] / [
Indent / outdent line
Cmd/Ctrl + Shift + \
Jump to matching bracket
Multi-cursor & selection
9Cmd/Ctrl + D
Select next match of the selection
Cmd/Ctrl + Shift + L
Select all matches at once
Cmd + Opt + ↑ / ↓ (Mac)
Add cursor above / below
Ctrl + Alt + ↑ / ↓ (Win)
Add cursor above / below
Alt + Click (Opt on Mac)
Add a cursor at the click
Cmd/Ctrl + U
Undo the last cursor operation
Cmd/Ctrl + L
Select the current line
Cmd/Ctrl + Shift + →/←
Expand selection by word
Shift + Alt + I
Cursor at end of each selected line
Navigation
9Cmd/Ctrl + G
Go to line number
Cmd/Ctrl + Shift + O
Go to symbol in file
Cmd/Ctrl + T
Go to symbol in workspace
F12 / Cmd/Ctrl + Click
Go to definition
Alt + F12
Peek definition
Cmd/Ctrl + - / Ctrl + -
Go back to previous location
Cmd/Ctrl + Shift + \
Navigate matching bracket
Cmd/Ctrl + 1 / 2 / 3
Focus editor group 1 / 2 / 3
Ctrl + Tab
Cycle through open editors
Search & replace
9Cmd/Ctrl + F
Find in file
Cmd/Ctrl + H (Alt+Cmd+F on Mac)
Replace in file
Cmd/Ctrl + Shift + F
Find across files
Cmd/Ctrl + Shift + H
Replace across files
Enter / Shift + Enter
Next / previous match
Alt + Enter
Select all find matches
.* toggle
Enable regular-expression search
Aa toggle
Toggle case-sensitive search
Cmd/Ctrl + Shift + J
Toggle search details / filters
Refactor & code actions
9F2
Rename symbol
Cmd/Ctrl + .
Quick fix / code actions
Cmd/Ctrl + Shift + R
Refactor menu
Shift + Alt + F
Format document
Cmd/Ctrl + K Cmd/Ctrl + F
Format selection
Cmd/Ctrl + Space
Trigger suggestions / IntelliSense
Cmd/Ctrl + Shift + Space
Trigger parameter hints
Cmd/Ctrl + K Cmd/Ctrl + I
Show hover info
Shift + F12
Find all references
Integrated terminal
8Ctrl + ` (backtick)
Toggle the terminal panel
Cmd/Ctrl + Shift + `
Create a new terminal
Cmd/Ctrl + \ (in terminal)
Split the terminal
Cmd/Ctrl + Shift + 5
Split the active terminal
Alt + Cmd + ←/→ (Mac)
Focus previous / next terminal
Cmd/Ctrl + C
Copy selection (else interrupt)
Cmd/Ctrl + K (focused)
Clear the terminal
kill icon / trash
Kill the active terminal
Display & layout
10Cmd/Ctrl + B
Toggle the side bar
Cmd/Ctrl + J
Toggle the bottom panel
Cmd/Ctrl + Shift + E
Show the Explorer
Cmd/Ctrl + Shift + G
Show Source Control
Cmd/Ctrl + Shift + X
Show Extensions
Cmd/Ctrl + Shift + D
Show Run & Debug
Cmd/Ctrl + K Z
Zen mode (distraction free)
Cmd/Ctrl + = / -
Zoom editor in / out
Cmd/Ctrl + \
Split the editor
Ctrl + Cmd + F (Mac) / F11
Toggle full screen
「:q」に一致する項目はありません。
VS Code チートシートについて
このVS Codeチートシートは、Visual Studio Codeへのキーボード優先のリファレンスです。コマンドパレットと一般的なショートカット、編集、複数カーソルと選択、ナビゲーション、検索と置換、リファクタリングとコードアクション、統合ターミナル、表示とレイアウトの操作を扱います。
ほとんどの行は、行の移動、カーソルの追加、シンボルへのジャンプ、ターミナルの切り替えといった一つの操作について、Windows/Linux用とmacOS用のキーストロークを示しています。これらがメニューではなく指に染み込むと、エディタは劇的に速くなるからです。
このシートは無料でクライアントサイドで動作します。検索ボックスでショートカットをリアルタイムに絞り込み、固定表示の目次でセクション間を移動し、任意のキーバインドをワンクリックでコピーし、印刷もできます。印刷したショートカットシートは、マウス癖を断ち切る最速の方法です。
VS Code チートシートの使い方
- シートを開き、コマンドパレット&一般から表示&レイアウトまで、各セクションに目を通します。
- multi-cursor、terminal、renameのようなアクションを検索し、ショートカットをリアルタイムに絞り込みます。
- 固定サイドバーからナビゲーションやリファクタリング&コードアクションなどのセクションへジャンプします。
- メモやドキュメントに貼り付けたい場合は、ショートカットまたはそのコピーアイコンをクリックします。
- シートを印刷し、ショートカットが自然に出てくるようになるまで見えるところに置いておきます。
よくある質問
はい。両方のキーボード規則のキーバインドが示されているので、Windows、Linux、macOSのいずれで使っていてもこのシートは役立ちます。
8つのセクションです。コマンドパレットと一般、編集、複数カーソルと選択、ナビゲーション、検索と置換、リファクタリングとコードアクション、統合ターミナル、表示とレイアウトです。
まずコマンドパレットから始めましょう。名前ですべてのコマンドにアクセスできます。次にナビゲーションと複数カーソルのセクションを覚えると、日々の作業が最も高速化します。
どちらもできます。検索ボックスはマッチ件数とともに全行をリアルタイムに絞り込み、印刷ボタンはページの装飾を除いたきれいなシートを出力します。
はい、完全に無料です。アカウント登録不要のクライアントサイドリファレンスです。
人気の検索
vs code チートシート
vs code キーボードショートカット
vscode ショートカット一覧
vs code マルチカーソル ショートカット
vs code コマンドパレット
vscode 検索置換 ショートカット
vs code ターミナル ショートカット
vs code ナビゲーション ショートカット
お困りですか?
このツールで問題が見つかりましたか?チームにお知らせください。