【强哥推荐】VSCode常用快捷键配置文件表,记得收藏
生活随笔
收集整理的這篇文章主要介紹了
【强哥推荐】VSCode常用快捷键配置文件表,记得收藏
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
直接修改C:\Users\Administrator\AppData\Roaming\Code\User\keybindings.json(注意目錄根據自己的用戶名情況和安裝位置而定,我的僅供參考)文件為如下配置:?
// 將鍵綁定放在此文件中以覆蓋默認值auto[]
[{"key": "ctrl+shift+j","command": "editor.action.joinLines"},{"key": "alt+x","command": "workbench.files.action.collapseExplorerFolders"},{"key": "alt+s","command": "workbench.action.toggleAutoSave"},{"key": "shift+alt+w","command": "workbench.action.closeOtherEditors"},{"key": "shift+alt+oem_6","command": "workbench.action.closeEditorsToTheRight"},{"key": "shift+alt+oem_4","command": "workbench.action.closeEditorsToTheLeft"},{"key": "ctrl+shift+pagedown","command": "-workbench.action.moveEditorRightInGroup"},{"key": "ctrl+shift+pagedown","command": "workbench.action.moveEditorRightInGroup"},{"key": "ctrl+numpad0","command": "editor.action.fontZoomReset"},{"key": "alt+e","command": "workbench.action.switchWindow"},{"key": "alt+insert","command": "explorer.newFile"},{"key": "shift+alt+insert","command": "explorer.newFolder"},{"key": "alt+enter","command": "editor.action.quickFix","when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"},{"key": "ctrl+oem_period","command": "-editor.action.quickFix","when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"},{"key": "ctrl+shift+oem_3","command": "-workbench.action.terminal.new","when": "terminalProcessSupported"},{"key": "shift+alt+z","command": "workbench.action.terminal.newInActiveWorkspace"},{"key": "ctrl+l","command": "workbench.action.terminal.clear"},{"key": "ctrl+alt+k","command": "workbench.action.openGlobalKeybindings"},{"key": "ctrl+shift+f","command": "-vueBeautify.format","when": "editorTextFocus && editorTextFocus && !editorReadonly && resourceLangId == 'vue'"},{"key": "alt+m","command": "editor.action.toggleMinimap"},{"key": "alt+n","command": "npm.focus"},{"key": "shift shift","command": "workbench.action.gotoSymbol"},{"key": "ctrl+shift+o","command": "-workbench.action.gotoSymbol"},{"key": "shift+alt+l","command": "editor.action.transformToLowercase"},{"key": "shift+alt+u","command": "editor.action.transformToUppercase"},{"key": "alt+u","command": "editor.action.transformToTitlecase"},{"key": "alt+numpad_add","command": "workbench.action.increaseViewSize"},{"key": "alt+pagedown","command": "workbench.action.terminal.resizePaneDown"},{"key": "alt+numpad_subtract","command": "workbench.action.decreaseViewSize"},{"key": "alt+numpad0","command": "workbench.action.evenEditorWidths"},{"key": "alt+pageup","command": "workbench.action.terminal.resizePaneUp"},{"key": "ctrl+alt+s","command": "extension.autoScssStruct"},{"key": "alt+b","command": "workbench.action.toggleStatusbarVisibility"},{"key": "shift+alt+k","command": "workbench.action.openGlobalKeybindingsFile"},{"key": "alt+f","command": "workbench.action.toggleZenMode"},{"key": "alt+q","command": "workbench.action.toggleActivityBarVisibility"},{"key": "alt+oem_5","command": "workbench.action.splitEditorDown"},{"key": "alt+g","command": "git.checkout"},{"key": "ctrl+alt+r","command": "workbench.files.action.refreshFilesExplorer"},{"key": "alt+r","command": "workbench.action.tasks.runTask"},{"key": "alt+c","command": "-extension.switchCSS"},{"key": "alt+c","command": "extension.switchCSS"}
]
也可以用新的打開快捷方式JSON配置文件的快捷鍵Ctrl+Alt+K進行編輯配置
或直接用Shift+Alt+K進行編輯配置
傳送門設置VSCode打開鍵盤快捷方式和鍵盤快捷方式配置JSON分別快捷鍵為:Ctrl+Alt+K和Shift+Alt+K_你摯愛的強哥(http://www.shuzhiqiang.com)-CSDN博客
?
總結
以上是生活随笔為你收集整理的【强哥推荐】VSCode常用快捷键配置文件表,记得收藏的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: sd.js 2.0封装:更加简化请求传参
- 下一篇: 让你爽到飞起的【懒人插件AutoScss