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. ORACLE SYNONYM详解

    以下内容整理自Oracle 官方文档 一 概念 A synonym is an alias for any table, view,materialized view, sequence, proce ...

  2. 如何完整卸载Mysql数据库

    mysql数据库首次安装失败,后来多次安装均失败,原因就是没有完全卸载mysql数据库 那么如何完整卸载MYSQL数据库呢? 介绍mysql数据库完整卸载的方法 完美卸载MYSQL 在管理工具-服务里 ...

  3. DRF框架固定配置

    1.认证Authentication 可以在配置文件中配置全局默认的认证方案 REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_ ...

  4. pipenv安装.whl

    windows下很多库安装不方便,主要是编译C之类的. 之前这样做: 1去https://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载各种版本编译好的.whl 2 pi ...

  5. Lua和C++交互 学习记录之二:栈操作

    主要内容转载自:子龙山人博客(强烈建议去子龙山人博客完全学习一遍) 部分内容查阅自:<Lua 5.3  参考手册>中文版 译者 云风 制作 Kavcc vs2013+lua-5.3.3 1 ...

  6. Python&HDF5目录

    最近一直没更新python&量化的博客,是因为忙于看HDF5的书,写VNPY框架,学scrapy爬虫. 本来写博客的目的就是为了当作一种教材,当遇到不会的问题过来找答案. 对于HDF5下面这本 ...

  7. 第 6 章 存储 - 044 - volume 生命周期管理

    volume 生命周期管理 1)备份 因为 volume 实际上是 host 文件系统中的目录和文件,所以 volume 的备份实际上是对文件系统的备份 例如:本地的Registry,所有镜像都存在/ ...

  8. VMware vSphere client 中英文语言界面设置

    安装的时候可以选择简体中文,然后安装后,对vsphere client的执行程序制作快捷方式 以win7 x64环境默认路径为例 英文启动如下: "C:Program Files (x86) ...

  9. Getting started with Processing 第十三章——延伸(2)

    与 Arduino 联动 在 Processing 中,可以通过:import processing.serial.* Serial port; //声明串口对象port = new Serial(t ...

  10. boke练习: spring boot: security post数据时,要么关闭crst,要么添加隐藏域

    spring boot: security post数据时,要么关闭crst,要么添加隐藏域 http.csrf().disable(); 或者: <input name="${_cs ...