使用vscode官網(wǎng)提供快捷鍵方案自己進(jìn)行翻譯,如果大家有什么修改建議可評(píng)論

Keyboard shortcuts for Windows (鍵盤快捷方式為windows)
General (一般)
Ctrl+ Shift+P, F1 Show Command Palette
顯示命令面板
Ctrl+P Quick Open, Go to File..
快速打開
Ctrl+ Shift+ N New window/instance
新窗口/實(shí)例
Ctrl+ Shift +W Close window/instance
關(guān)閉窗口/實(shí)例
Ctrl+, User Settings
用戶設(shè)置
Ctrl+K Ctrl+S Keyboard Shortcuts
鍵盤快捷方式
Basic editing (基本編輯)
Ctrl+X Cut line (empty selection)
剪切行(空選定)
Ctrl+C Copy line (empty selection)
復(fù)制行(空選定)
Alt+↑/↓ Move line up/down
向上/向下移動(dòng)行
Shift+Alt +↓/↑ Copy line up/down
向上/向下復(fù)制行
Ctrl+ Shift+K Delete line
刪除行
Ctrl+ Enter Insert line below
在下面插入行
Ctrl+ Shift+ Enter Insert line above
在上面插入行
CtrI+ Shift+\ Jump to matching bracket
跳到匹配的括號(hào)
Ctrl+]/ [ Indent/outdent line
縮進(jìn)、縮進(jìn)行
Home / End Go to beginning/end of line
轉(zhuǎn)到行首/行尾
Ctrl+ Home Go to beginning of file
轉(zhuǎn)到文件開頭
CtrI+ End Go to end of file
轉(zhuǎn)到文件末尾
Ctrl+↑/↓ Scroll line up/down
向上/向下滾動(dòng)行
Alt+ PgUp / PgDn Scroll page up/down
向上/向下滾動(dòng)頁(yè)面
Ctrl+ Shift+[ Fold (collapse) region
折疊(折疊)區(qū)域
Ctrl+ Shift+] nfold (uncollapse) region
展開(未折疊)區(qū)域
**CtrI+K CtrI+[ ** Fold (collapse) all subregions
折疊(未折疊)所有子區(qū)域
CtrI+K Ctrl+] Unfold (uncollapse) all subregions
展開(折疊)所有子區(qū)域
CtrI+K Ctrl+0 Fold (collapse) all regions
折疊(折疊)所有區(qū)域
CtrI+K CtrI+J Unfold (uncollapse) all regions
展開(展開)所有區(qū)域
CtrI+K Ctrl+C Add line comment
展開(展開)所有區(qū)域
Ctrl+K CtrI+U Remove line comment
刪除行的評(píng)論
Ctrl+/ Toggle line comment
切換線的評(píng)論
Shift+ Alt+A Toggle block comment
切換塊注釋
Alt+Z Toggle word wrap
切換自動(dòng)換行
Navigation (導(dǎo)航)
Ctrl+T Show all Symbols
顯示所有符號(hào)
Ctrl+G Go to Line...
轉(zhuǎn)到行
Ctrl+P Go to File...
轉(zhuǎn)到文件
Ctrl+ Shift+O Go to Symbol...
轉(zhuǎn)到文件中的符號(hào)
Ctrl+ Shift+ M Show Problems panel
面板顯示問題
F8 Go to next error or warning
轉(zhuǎn)到下一個(gè)錯(cuò)誤或警告
Shift+ F8 Go to previous error or warning
轉(zhuǎn)到以前的錯(cuò)誤或警告
Ctrl + Shift+Tab Navigate editor group history
導(dǎo)航編輯器組歷史記錄
Alt+←/→ Go back / forward
轉(zhuǎn)到后退/前進(jìn)
Ctrl +M Toggle Tab moves focus
切換標(biāo)簽移動(dòng)焦點(diǎn)
Search and replace (搜索和替換)
Ctrl+F Find
查找
Ctrl+H Replace
替換
F3 / Shift+F3 Find next/ previous
查找上一個(gè)或下一個(gè)
Alt+ Enter Select all occurences of Find match
選擇找到的所有發(fā)生事件
Ctrl+D Add selection to next Find match
將選擇添加到下找到匹配
Ctrl+K Ctrl+D Move last selection to next Find match
將上一個(gè)選擇移動(dòng)到下一個(gè)查找匹配項(xiàng)
Alt+C/ R/ W Toggle case-sensitive / regex ! whole word
切換大小寫敏感/正則表達(dá)式/整個(gè)單詞
Multi-cursor and selection (多重-光標(biāo)和選擇)
Alt+ Click Insert cursor
插入光標(biāo)
Ctrl+Alt+↑/↓ Insert cursor above / below
將光標(biāo)插入上面/下面
Ctrl+U Undo last cursor operation
撤消 上次光標(biāo)操作
Shift+ Alt+I Insert cursor at end of each line selected
在選中的每一行末尾插入光標(biāo)
Ctrl+L Select current line
選擇當(dāng)前行
Ctrl+ Shift+L Select all occurrences of current selection
選擇當(dāng)前選擇的所有出現(xiàn)項(xiàng)
Ctrl+F2 Select all occurrences of current word
選擇當(dāng)前單詞的所有出現(xiàn)項(xiàng)
Shift+Alt+→ Expand selection
擴(kuò)大選擇
Shift+ Alt+← Shrink selection
縮小選擇
Shift+Alt +(drag mouse) Column (box) selection
列(箱)的選擇。
Ctrl+ Shift+Alt + (arrow key) Column (box) selection
列(箱)的選擇。
Ctrl + Shift+ Alt+PgUp/PgDn Column (box) selection page up/down
列(框)選擇頁(yè)向上/向下
Rich languages editing (豐富的語(yǔ)言編輯)
Ctrl+ Space Trigger suggestion
觸發(fā)的建議
Ctrl+ Shift+ Space Trigger parameter hints
觸發(fā)參數(shù)提示
Shift+Alt+ F Format document
格式的文檔。
Ctrl+K Ctrl+F Format selection
格式選擇
F12 Go to Definition
去定義
Alt+F12 Peek Definition
讀取定義
Ctrl+K F12 Open Definition to the side
打開定義到一邊
Ctrl+. Quick Fix
快速修復(fù)
Shift+F12 Show References
顯示引用
F2 Rename Symbol
重命名符號(hào)
Ctrl+K Ctrl+X Trim trailing whitespace
修剪后的空白
Ctrl+K M Change file language
更改文件的語(yǔ)言
Editor management (編輯器管理)
Ctrl+ F4, Ctrl+W Close editor
關(guān)閉編輯器
Ctrl+K F Close folder
關(guān)閉文件夾
*Ctrl+* Split editor
分屏
Ctrl+ 1/ 2/ 3 Focus into 1st 2nd or 3rd editor group
關(guān)注到1/2/3編輯器組
CtrI+K Ctrl+←/→ Focus into. previous/next editor group
將焦點(diǎn)放在上一個(gè)/下一個(gè)編輯器組中
Ctrl+ Shift+ PgUp / PgDn Move editor left/right
左/右移動(dòng)編輯器
Ctrl+K←/→ Move active editor group
移動(dòng)活動(dòng)編輯器組
File management (文件管理)
Ctrl+N New File
新建文件
CtrI+O Open File...
打開文件
Ctrl+S Save
保存
Ctrl +Shift+S Save As....
另存為
Ctrl+K S Save AlI
全部保存
Ctrl+F4 Close
關(guān)閉
Ctrl +K CtrI+W Close All
全部關(guān)閉
Ctrl+ Shift+T Reopen closed editor
重新打開關(guān)閉編輯器
Ctrl +K Enter Keep preview mode editor open
保持預(yù)覽模式編輯器打開
Ctrl+Tab Open next
打開下一項(xiàng)
Ctrl+ Shift+Tab Open previous
打開前一項(xiàng)
Ctrl+K P Copy path of active file
復(fù)制活動(dòng)文件的路徑
CtrI+K R Reveal active file in Explorer
在資源管理器中顯示活動(dòng)文件
Ctrl+K 0 Show active file in new window/instance
在新窗口/實(shí)例中顯示活動(dòng)文件
Display (顯示)
F11 Toggle full screen
切換全屏
Shift+ Alt+O Toggle editor layout (horizontal/vertical)
切換編輯器布局(水平/垂直)
Ctrl+=/- Zoom in/out
放大/縮小
Ctrl+ B Toggle Sidebar visibility
切換欄可見性
Ctrl +Shift+E Show Explorer / Toggle focus
顯示資源管理器/切換焦點(diǎn)
Ctrl+ Shift+F Show Search
顯示搜索
Ctrl+ Shift+G Show Source Control
顯示源控制
Ctrl+ Shift+D Show Debug
顯示調(diào)試
Ctrl + Shift+X Show Extensions
顯示擴(kuò)展名
Ctrl + Shift+H Replace in files
在文件中替換
Ctrl +Shift+J Toggle Search details
切換搜索細(xì)節(jié)
Ctrl+ Shift+U Show Output panel
顯示輸出面板
Ctrl + Shift+V Open Markdown preview
打開減價(jià)預(yù)覽
Ctrl+K V Open Markdown preview to the side
打開標(biāo)記預(yù)覽到一邊
Ctrl+K Z Zen Mode (Esc Esc to exit)
Zen模式(Esc Esc退出)
Debug (調(diào)試)
F9 Toggle breakpoint
切換斷點(diǎn)
F5 Start/Continue
啟動(dòng)/繼續(xù)
Shift+F5 Stop
停止
F11 / Shift+F11 Step into/out
步進(jìn)/出
F10 Step over
跨過(guò)
Ctrl+K Ctrl+I Show hover
顯示徘徊
Integrated terminal (集成終端)
Ctrl+' Show integrated terminal
顯示綜合終端
Ctrl+ Shift+' Create new terminal
創(chuàng)建新的終端
Ctrl+C Copy selection
復(fù)制選擇
CtrI+V Paste into active terminal
粘貼到活動(dòng)終端
CtrI+↑/↓ Scroll up/down
向上/向下滾動(dòng)
Shift+ PgUp / PgDn Scroll page up/down
向上/向下滾動(dòng)頁(yè)面
Ctrl+Home / End Scroll to top/bottom
滾動(dòng)到頂部/底部
Other operating systems' keyboard shortcuts and additional unassigned shortcuts available at aka.ms/vscodekeybindings
其他操作系統(tǒng)的鍵盤快捷鍵和aka.ms/vscodekeybindings上提供的其他未分配的快捷鍵