1. // 快捷键设置 keyiing.json
  2. // 将键绑定放入此文件中以覆盖默认值
  3. [
  4.     /* // 转换大写
  5.     {
  6.         "key" : "ctrl+shift+u",
  7.         "command" : "editor.action.transformToUppercase",
  8.         "when" : "editorTextFocus"
  9.     },
  10.     // 转换小写
  11.     {
  12.         "key" : "ctrl+shift+l",
  13.         "command" : "editor.action.transformToLowercase",
  14.         "when" : "editorTextFocus"
  15.     },*/
  16.     // 定制与 sublime 相同的大小写转换快捷键,需安装 TextTransform 插件
  17.     {
  18.         "key": "ctrl+k ctrl+u",
  19.         "command": "uppercase",
  20.         "when": "editorTextFocus"
  21.     },
  22.     {
  23.         "key": "ctrl+k ctrl+l",
  24.         "command": "lowercase",
  25.         "when": "editorTextFocus"
  26.     },
  27.     // ctrl+space 被切换输入法快捷键占用
  28.     // {
  29.     // "key": "ctrl+alt+space",
  30.     // "command": "editor.action.triggerSuggest",
  31.     // "when": "editorTextFocus"
  32.     // },
  33.     // ctrl+d 删除一行
  34.     {
  35.         "key": "ctrl+d",
  36.         "command": "editor.action.deleteLines",
  37.         "when": "editorTextFocus"
  38.     },
  39.     // 选中高亮
  40.     {
  41.         "key": "alt+d",
  42.         "command": "editor.action.addSelectionToNextFindMatch",
  43.         "when": "editorFocus"
  44.     },
  45.     // ctrl+shift+/多行注释
  46.     {
  47.         "key": "ctrl+shift+/",
  48.         "command": "editor.action.blockComment",
  49.         "when": "editorTextFocus"
  50.     },
  51.     // 高亮文本编辑颜色
  52.     {
  53.         "key": "alt+q",
  54.         "command": "textmarker.markText",
  55.         "when": "editorTextFocus"
  56.     },
  57.     // 清除文本编辑颜色
  58.     {
  59.         "key": "alt+z",
  60.         "command": "textmarker.clearAllHighlight",
  61.         "when": "editorTextFocus"
  62.     },
  63.     // 注释table化
  64.     // {
  65.     // "key": "alt+t",
  66.     // "command": "extension.table.formatCurrent",
  67.     // "when": "editorTextFocus"
  68.     // },
  69.     // 格式化热键 覆盖点击文件的快捷键
  70.     // {
  71.     // "key" : "alt+f",
  72.     // "command": "editor.action.format",
  73.     // "when" : "editorHasFormattingProvider && editorTextFocus && !editorReadonly"
  74.     // },
  75.     // 复制一行到下一行
  76.     {
  77.         // "key" : "ctrl+shift+c",
  78.         "key": "alt+c",
  79.         // "command": "editor.action.fLinesDownAction",
  80.         "command": "editor.action.copyLinesDownAction",
  81.         "when": "editorTextFocus"
  82.     },
  83.     // 复制一行到下一行
  84.     // {
  85.     // "key": "alt+shift+j",
  86.     // "command": "editor.Add.doc.comments",
  87.     // "when": "editorTextFocus"
  88.     // },
  89.     // 快速添加注释信息
  90.     {
  91.         "key": "ctrl+alt+j",
  92.         // "command": "docthis.documentEverythingVisible"
  93.         // "command": "docthis.documentEverything"
  94.         "command": "docthis.documentThis"
  95.     },
  96.     // // log日志打印参数信息
  97.     // {
  98.     // "key": "ctrl+t",
  99.     // "command": "extension.insertLogStatement",
  100.     // "when": "editorTextFocus"
  101.     // },
  102.     // 清除所有log日志
  103.     {
  104.         "key": "alt+shift+l",
  105.         "command": "extension.deleteAllLogStatements"
  106.     },
  107.     // 调试快捷键 以防占用
  108.     {
  109.         "key": "ctrl+shift+d",
  110.         "command": "workbench.view.debug"
  111.     },
  112.     //逗号分隔
  113.     {
  114.         "key": "alt+shift+w",
  115.         "command": "words"
  116.     },
  117.     //驼峰命名小写下划线
  118.     {
  119.         "key": "alt+s",
  120.         "command": "snakeCase"
  121.     },
  122.     // // 替换选择
  123.     // {
  124.     // "key": "alt+r",
  125.     // "command": "replace"
  126.     // },
  127.     //驼峰命名小写
  128.     {
  129.         "key": "alt+e",
  130.         "command": "camelCase"
  131.     },
  132.     //括号匹配
  133.     {
  134.         "key": "alt+m",
  135.         "command": "expand-selection-to-scope.expand"
  136.     },
  137.     //快捷建立方法method
  138.     {
  139.         "key": "alt+f",
  140.         "command": "cmstead.jsRefactor.wrapInExecutedFunction"
  141.     },
  142.     // // json转对象
  143.     // {
  144.     // "key": "ctrl+shift+j",
  145.     // "command": "jsonToJSObject.convert"
  146.     // },
  147.     // 去除空格
  148.     {
  149.         "key": "ctrl+;",
  150.         "command": "blankLine.process"
  151.     },
  152.     // : = 对齐
  153.     {
  154.         "key": "alt+=",
  155.         "command": "alignment.align",
  156.         "when": "editorHasSelection"
  157.     },
  158.     // 选择一行 下选择
  159.     {
  160.         "key": "ctrl+s",
  161.         "command": "expandLineSelection",
  162.         "when": "editorTextFocus"
  163.     },
  164.     //调试debug
  165.     // {
  166.     // "key": "alt+3",
  167.     // "command": "workbench.action.debug.restart",
  168.     // "when": "inDebugMode"
  169.     // },
  170.     // {
  171.     // "key": "ctrl+t",
  172.     // "command": "extension.translateon",
  173.     // "when": "editorTextFocus"
  174.     // }
  175.     // log日志打印参数信息
  176.     // {
  177.     // "key": "ctrl+enter",
  178.     // "command": "extension.complete-statement",
  179.     // "when": "editorTextFocus"
  180.     // },
  181.     // log日志打印参数信息
  182.     {
  183.         "key": "alt+w",
  184.         "command": "extension.insertLogStatement",
  185.         "when": "editorTextFocus"
  186.     }
  187.     // ,
  188.     // // tab element键设置
  189.     // {
  190.     // "key": "alt+a",
  191.     // "command": "editor.emmet.action.expandAbbreviation",
  192.     // "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !config.emmet.useNewEmmet && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus"
  193.     // }
  194. ]

vsCode快捷键设置的更多相关文章

  1. VSCode 同步设置及扩展插件 实现设备上设置统一

    准备工作:电脑上需安装VSCode,拥有一个github账户.实现同步的功能主要依赖于VSCode插件 "Settings Sync" Setting Sync 可同步包含的所有扩 ...

  2. vscode快捷键

    vscode快捷键 按 ctrl+shift+p 查找设置文件Ctrl + W 关闭编辑器 设置定位到终端的快捷键:打开键盘配置文件,搜索focus terminal,找到聚焦到终端的命令,添加ctr ...

  3. VScode快捷键、Chrome快捷键知识小总结和状态码

           一.VS code的一些快捷键 Shift + Delete    删除一整行 ctrl + Delete     删除光标之后到标点的数据 Delete          删除光标之后 ...

  4. Mac 键盘符号 及VSCode快捷键 说明

    Mac 键盘符号说明 ⌘ == Command ⇧ == Shift ⇪ == Caps Lock ⌥ == Option ⌃ == Control ↩ == Return/Enter ⌫ == De ...

  5. VScode基础设置

    安装依赖包: • One Monokai • Aglia • One Dark Pro • Material Icon   漂亮的主题: Themes Quokka 是一个调试工具插件,能够根据你正在 ...

  6. 动图演示23个鲜为人知的VSCode快捷键

    动图演示23个鲜为人知的VSCode快捷键 原文地址:dev.to/devmount/23… 代码同步浏览器 安装vccode 安装live server插件 尽管我在VS Code中经常使用许多快捷 ...

  7. vscode快速生成html模板(vscode快捷键"!"生成html模板)

    问题: 在vscode中新建test.html, 内容是空白的,输入"!",然后按tap键 ,没有生成常见的html模板,也就是如下: 输入! html html:5 DOCTYP ...

  8. VS CODE一些常见配置操作(快捷键设置、C/C++的debug、代码路径配置)

    总述     今天来一篇简单的操作文章吧,VSCODE是我们经常用的软件,我之前也写过关于VSCODE远程办公的一些的操作(有兴趣的朋友可以点击进去看看),今天我再稍微介绍一些我其他地方用到的一些操作 ...

  9. vscode常用设置

    1.代码提示快捷键设置:(keybindings.json) { "key": "ctrl+j","command": "edit ...

随机推荐

  1. mybatis理解(0)

  2. django 聚合内容 RSS/Atom

    Django提供了一个高层次的聚合内容框架,让我们创建RSS/Atom变得简单,你需要做的只是编写一个简单的Python类. 一.范例 要创建一个feed,只需要编写一个Feed类,然后设置一条指向F ...

  3. Eclipse添加EGIT方法

    1. 安装EGIT, 其中一个方法: 2. 新建javaweb项目,测试git的使用. l  File > Team > Share Project 选择GIT 如何选择不了,则选择创建c ...

  4. 学习笔记49—matlab FDR校正

    matlab自带函数mafdr,当ttest数较多时,可直接用[FDR, Q]=mafdr(P):但是Storey procedure在p值少于1000个时会崩溃,此时应改用BH FDR方法:mafd ...

  5. Django 基础介绍

    Django 介绍 Python下有许多款不同的 Web 框架.Django是重量级选手中最有代表性的一位.许多成功的网站和APP都基于Django. Django是一个开放源代码的Web应用框架,由 ...

  6. 第一个dubbo程序

    Dubbo是一个高性能服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,以及SOA服务治理方案,使得应用可通过高性能RPC实现服务的输出和输入功能,和Spring框架可以无缝集成. 作为一个 ...

  7. .bat文件的用途

    bat(batch) .bat文件是用来干什么的?我们可以通过win+r,进入cmd,用dos命令行来完成某些操作,比如ping. 我们这里可以用更简单的办法,可以把命令行写入记事本,然后修改后缀为b ...

  8. Gartner:影响2019年基础设施和运营的十大趋势

    ​​关注嘉为科技,获取运维新知 基础设施和运营(I&O)正越来越多地涉及现代企业的前所未有的领域.比起数据中心.托管和云等技术元素,I&O领导者们更多地着眼于如何让组织的基础架构和运营 ...

  9. Python全栈开发,Day2(in,while else,格式化输出,逻辑运算符,int与bool转换,编码)

    一.in的使用 in 操作符用于判断关键字是否存在于变量中 ? 1 2 a = '男孩wusir' print('男孩' in a) 执行输出: True in是整体匹配,不会拆分匹配. ? 1 2 ...

  10. Confluence 6 如何考虑设置一个空间的主页

    这空间是干什么的?空间主页是访问你空间的用户最先看到的页面.如果你在这个页面中包含一些你空间是干什么的内容能够帮助你的用户更加容易的访问你的空间,同时也能够让你的用户更加容易了解你正在工作的事情.你可 ...