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+j",
  86.         "command": "editor.Add.doc.comments",
  87.         "when": "editorTextFocus"
  88.     },
  89.     // 快速添加注释信息
  90.     // {
  91.     // "key": "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+n",
  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.     // tab element键设置
  188.     {
  189.         "key": "alt+a",
  190.         "command": "editor.emmet.action.expandAbbreviation",
  191.         "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !config.emmet.useNewEmmet && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus"
  192.     }
  193. ]


 

快捷键设置 keyiing.json的更多相关文章

  1. vsCode快捷键设置

    // 快捷键设置 keyiing.json // 将键绑定放入此文件中以覆盖默认值 [     /* // 转换大写     {         "key" : "ctr ...

  2. 【Sublime Text】sublime修改默认浏览器及使用不同浏览器打开网页的快捷键设置

    #第一步:安装SideBarEnhancements插件 下载插件,需要“翻墙”,故提供一下该插件的github地址:https://github.com/titoBouzout/SideBarEnh ...

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

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

  4. 在Ubuntu|CentOS上安装Shutter截图工具及快捷键设置

    简介 Shutter前身叫GScrot,它是一款相当棒的截图软件. 通过Shutter,你可以截取包括选定区域.全屏幕.窗口.窗口内的控件甚至网页的图像.通过内置的强大插件机制,你可以在截图后,对图像 ...

  5. PhpStorm 8.x/9.x 快捷键设置/个性化设置,如何多项目共存?如何更换主题?

    1."自定义"常用快捷键(设置成跟Eclipse差不多) 按照路径:File -> Settings -> Appearance & Behavior -> ...

  6. Allegro 快捷键设置

    一.快捷键设置 Allegro可以通过修改env文件来设置快捷键,这对从其它软件如AD或PADS迁移过来的用户来说,可以沿用以前的操作习惯,还是很有意义的. Allegro的变量文件一共有2个:一个是 ...

  7. SublimeREPL快捷键设置

    SublimeREPL 允许你在 Sublime Text 中运行各种语言(NodeJS , Python,Ruby, Scala 和 Haskell 等等).所以对于程序员来说,这是很重要的一个插件 ...

  8. iOS - Mac 锁屏快捷键设置

    Mac 锁屏快捷键设置 control + shift + Eject 锁屏快捷键 如果用户要离开电脑一段时间,可以选择直接把笔记本直接合上.但是这样原先在跑的进程就会挂起或者结束,如果正在下载,那么 ...

  9. Pycharm使用问题# 快捷键设置

    Pycharm内部设置也已经变得非常复杂,此处说明我改变字体大小的快捷键设置. 在Settings中找到Keymap一项,默认显示会展开Editor Actions一项: 在里面分别找到Decreas ...

随机推荐

  1. Panda3D

    Panda3D 是个开源的游戏及物理引擎(也支持ODE及Bullet). 相关链接:网站: https://www.panda3d.org/下载: https://www.panda3d.org/do ...

  2. Spring Boot的数据访问 之Spring Boot + jpa的demo

    1. 快速地创建一个项目,pom中选择如下 <?xml version="1.0" encoding="UTF-8"?> <project x ...

  3. oracle的批量操作sql语句

    1.批量删除/批量更新 mapper: <update id="updatePrjStateByFPrjId" parameterType="string" ...

  4. Codeforces 444 C - DZY Loves Colors

    C - DZY Loves Colors 思路: 分块,复杂度有点玄学,和普通分块不同的是在这个块被一次染色的时候暴力染整个块. 代码: #pragma GCC optimize(2) #pragma ...

  5. Codeforces 934C - A Twisty Movement

    934C - A Twisty Movement 思路:dp 很容易想到要预处理出1的前缀和pre[i]和2的后缀和suf[i] 然后枚举区间,对于每个区间如果能求出最长递减序列的长度,那么就能更新答 ...

  6. Linux chpasswd (批量或单一修改用户密码)和passwd(直接修改用户密码)

    Linux命令:chpasswd 批量或者单一修改用户密码 语法: 1:# echo 用户名:密码 | chpasswd 2:# chpasswd < doiido.txt 实例 1.直接修改d ...

  7. JFinal3.0 sql管理与动态生成

    原文: 本节学习目标主要是使用JFinal中自带的Template Engin来实现对sql的管理.JFinal中为sql管理提供了3个指令#sql.#para.#namespace,来增强sql功能 ...

  8. Spring 拦截器实现+后台原理(MethodInterceptor)

    MethodInterceptor MethodInterceptor是AOP项目中的拦截器(注:不是动态代理拦截器),区别与HandlerInterceptor拦截目标时请求,它拦截的目标是方法. ...

  9. Http Requests for PHP

    一.Requests for PHP 官网:http://requests.ryanmccue.info官方介绍:Requests is a humble HTTP request library. ...

  10. 图像识别 | AI在医学上的应用 | 深度学习 | 迁移学习

    参考:登上<Cell>封面的AI医疗影像诊断系统:机器之心专访UCSD张康教授 Identifying Medical Diagnoses and Treatable Diseases b ...