# VS Code 23個常用快捷鍵速查表 ###### tags: `VScode` `CheatSheets` ## GIF 動畫展示 > [23 lesser known VS Code Shortcuts as GIF -dev.to](https://dev.to/devmount/23-lesser-known-vs-code-shortcuts-as-gif-80) > ## 快捷鍵速查表 (Windows) | Shortcut | Description |內容 | | ---------------------- | ------------------------------------------- |-------- | | `Ctrl`+`,` | User Settings |用戶設置 | `Ctrl`+`K` `Ctrl`+`S` | Keyboard Shortcuts |鍵盤快捷鍵 | `Ctrl`+`R` | Switch workspace |切換工作區 | `Alt`+`Z` | Toggle word wrap |切換自動換行 | `Ctrl`+`T` | Show all Symbols |顯示所有符號 | `Ctrl`+`G` | Go to Line... |跳轉到行 | `Ctrl`+`P` | Go to File... |跳轉到文件 | `F8` | Go to next error or warning |跳轉到下一個錯誤或警告 | `Shift`+`F8` | Go to previous error or warning |跳轉到上一個錯誤或警告 | `Ctrl`+`Shift`+`Tab` | Navigate editor group history |瀏覽編輯器組的歷史記錄 | `Alt`+ `←`/`→` | Go back / forward |後退/前進 | `Shift`+`Alt`+`I` | Insert cursor at end of each line selected |在所選的每一行的末尾插入鼠標 | `Ctrl`+`I` | Select current line |選擇當前行 | `Ctrl`+`Shift`+`L` | Select all occurrences of current selection |選擇所有當前選擇 | `Ctrl`+`F2` | Select all occurrences of current word |選擇所有出現的當前單詞 | `Ctrl`+`Shift`+`Space` | Trigger parameter hints |觸發參數提示 | `Shift`+`Alt`+`F` | Format document |格式化文件 | `Ctrl`+`K` `Ctrl`+`F` | Format selection |格式選擇 | `F12` | Go to Definition |轉到定義 | `Alt`+`F12` | Peek Definition |偷看定義 | `F2` | Rename Symbol |重新命名 | `Ctrl`+`K` `Ctrl`+`X` | Trim trailing whitespace |修剪尾隨空格 | `Ctrl`+`K` `R` | Reveal active file in Explorer |在資源管理器中顯示活動文件 | `Ctrl`+`Shift`+`H` | Replace in files |替換文件 | `Ctrl`+`K` `V` | Open Markdown preview to the side |在側邊打開 Markdown 預覽 | `Ctrl`+`K` `Z` | Zen Mode (`Esc` `Esc` to exit) |禪模式(按 Esc退出) ## 官方快速鍵一覽表 - [Windows Cheat-Sheet](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf) [PDF] - [MacOS Cheat-Sheet](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf) [PDF] - [Linux Cheat-Sheet](http://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf) [PDF] ### 其他好用的速查表 * [CheatSheets -devmount](https://github.com/devmount/CheatSheets) * Bash * Git * NPM * Yarn ## 心得 作者 Andreas 將常用熱鍵用成 GIF 動畫展示,可以快速了解功能, 熟悉這些熱鍵,可以增加效率,有些相見恨的功能,基本上都在 Ctrl + k 搭配 Ctrl + *, 個人最喜歡禪模式了,如果能搭配直立式螢幕就更棒了!
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up