首页 > 【强哥推荐】VSCode常用快捷键配置文件表,记得收藏

【强哥推荐】VSCode常用快捷键配置文件表,记得收藏

直接修改C:UsersAdministratorAppDataRoamingCodeUserkeybindings.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博客

 

更多相关:

  • 前言 近期在做on nvme hash引擎相关的事情,对于非全序的数据集的存储需求,相比于我们传统的LSM或者B-tree的数据结构来说 能够减少很多维护全序上的计算/存储资源。当然我们要保证hash场景下的高写入能力,append-only 还是比较友好的选择。 像 Riak的bitcask 基于索引都在内存的hash引擎这种,...

  • 前言 最近在读 MyRocks 存储引擎2020年的论文,因为这个存储引擎是在Rocksdb之上进行封装的,并且作为Facebook 内部MySQL的底层引擎,用来解决Innodb的空间利用率低下 和 压缩效率低下的问题。而且MyRocks 在接入他们UDB 之后成功达成了他们的目标:将以万为单位的服务器集群server个数缩减了一...

  • 参考自:  https://www.cnblogs.com/zeng1994/p/03303c805731afc9aa9c60dbbd32a323.html 1、maven依赖

    springboot redis配置

    1、引入maven依赖 org.springframework.bootspring-boot-starter-data-redis   2、redis连接配置 spring:redis:h...

  • json 键值对增加、删除 obj.key='value'; // obj.key=obj[key]=eval("obj."+key); delete obj.key; vue中新增和删除属性 this.$set(object,key,value) this.$delete( object, key ) 触发视图更新 遍历键值 for...

  • ue4商城资源 Car Configurator Template 汽车配置器模板 ue4商城资源 Car Configurator Template 汽车配置器模板 Unreal Engine虚幻游戏引擎素材资源 Unreal Engine Marketplace –Car Configurator Template 4...

  • 一直在尝试一些写代码方便,阅读代码也很方便的工具,因为使用的是Mac,所以阅读源码上面sourceInsight就没办法用了。 从vscode – sublime – clion 想要可配置性强一点,软件轻一点,也能提供足够的便捷操作,不论是写代码还是快速索引源码,都希望在检索上面节省足够的时间。 vscode 和 sublime...

  • 每日杂事缠身,让自己在不断得烦扰之后终于有了自己的清静时光来熟悉一下我的工具,每次熟悉源码都需要先在windows端改好,拖到linux端,再编译。出现问题,还得重新回到windows端,这个过程太耗费时间。 vim作为唯一能够和windos 下的source insight一争高低的linux端的源码阅读器,只要将它短时间内合理利用...

  • 使用ubuntu(18.04) 作为软路由器连接互联网 背景: 最近要用ubuntu机器作为中继路由,需要配置一下,但是内网外网网上找了一圈,五花八门的,照着做没有一个靠谱的,遇到的问题也没有任何说明,遂写一篇教程以记录一下 功能说明: 简单来说,就是用其他机器的网络上互联网, 比如可以用其他机器的wifi上网等等场景 示意...

  • Spring-Boot 攻略 day01 spring-boot 一. 基本配置加运行 1. 导入配置文件(pom.xml 文件中) org.springframework.bootspring-boot-starter-parent