快捷键设置 keyiing.json
// 快捷键设置 keyiing.json- // 将键绑定放入此文件中以覆盖默认值
- [
- /* // 转换大写
- {
- "key" : "ctrl+shift+u",
- "command" : "editor.action.transformToUppercase",
- "when" : "editorTextFocus"
- },
- // 转换小写
- {
- "key" : "ctrl+shift+l",
- "command" : "editor.action.transformToLowercase",
- "when" : "editorTextFocus"
- },*/
- // 定制与 sublime 相同的大小写转换快捷键,需安装 TextTransform 插件
- {
- "key": "ctrl+k ctrl+u",
- "command": "uppercase",
- "when": "editorTextFocus"
- },
- {
- "key": "ctrl+k ctrl+l",
- "command": "lowercase",
- "when": "editorTextFocus"
- },
- // ctrl+space 被切换输入法快捷键占用
- // {
- // "key": "ctrl+alt+space",
- // "command": "editor.action.triggerSuggest",
- // "when": "editorTextFocus"
- // },
- // ctrl+d 删除一行
- {
- "key": "ctrl+d",
- "command": "editor.action.deleteLines",
- "when": "editorTextFocus"
- },
- // 选中高亮
- {
- "key": "alt+d",
- "command": "editor.action.addSelectionToNextFindMatch",
- "when": "editorFocus"
- },
- // ctrl+shift+/多行注释
- {
- "key": "ctrl+shift+/",
- "command": "editor.action.blockComment",
- "when": "editorTextFocus"
- },
- // 高亮文本编辑颜色
- {
- "key": "alt+q",
- "command": "textmarker.markText",
- "when": "editorTextFocus"
- },
- // 清除文本编辑颜色
- {
- "key": "alt+z",
- "command": "textmarker.clearAllHighlight",
- "when": "editorTextFocus"
- },
- // 注释table化
- // {
- // "key": "alt+t",
- // "command": "extension.table.formatCurrent",
- // "when": "editorTextFocus"
- // },
- // 格式化热键 覆盖点击文件的快捷键
- // {
- // "key" : "alt+f",
- // "command": "editor.action.format",
- // "when" : "editorHasFormattingProvider && editorTextFocus && !editorReadonly"
- // },
- // 复制一行到下一行
- {
- // "key" : "ctrl+shift+c",
- "key": "alt+c",
- // "command": "editor.action.fLinesDownAction",
- "command": "editor.action.copyLinesDownAction",
- "when": "editorTextFocus"
- },
- // 复制一行到下一行
- {
- "key": "alt+j",
- "command": "editor.Add.doc.comments",
- "when": "editorTextFocus"
- },
- // 快速添加注释信息
- // {
- // "key": "alt+j",
- // // "command": "docthis.documentEverythingVisible"
- // // "command": "docthis.documentEverything"
- // "command": "docthis.documentThis"
- // },
- // // log日志打印参数信息
- // {
- // "key": "ctrl+t",
- // "command": "extension.insertLogStatement",
- // "when": "editorTextFocus"
- // },
- // 清除所有log日志
- {
- "key": "alt+shift+l",
- "command": "extension.deleteAllLogStatements"
- },
- // 调试快捷键 以防占用
- // {
- // "key": "ctrl+shift+d",
- // "command": "workbench.view.debug"
- // },
- //逗号分隔
- {
- "key": "alt+shift+w",
- "command": "words"
- },
- //驼峰命名小写下划线
- {
- "key": "alt+n",
- "command": "snakeCase"
- },
- // // 替换选择
- // {
- // "key": "alt+r",
- // "command": "replace"
- // },
- //驼峰命名小写
- {
- "key": "alt+e",
- "command": "camelCase"
- },
- //括号匹配
- {
- "key": "alt+m",
- "command": "expand-selection-to-scope.expand"
- },
- //快捷建立方法method
- {
- "key": "alt+f",
- "command": "cmstead.jsRefactor.wrapInExecutedFunction"
- },
- // json转对象
- // {
- // "key": "ctrl+shift+j",
- // "command": "jsonToJSObject.convert"
- // },
- // 去除空格
- {
- "key": "ctrl+;",
- "command": "blankLine.process"
- },
- // : = 对齐
- {
- "key": "alt+=",
- "command": "alignment.align",
- "when": "editorHasSelection"
- },
- // 选择一行 下选择
- {
- "key": "ctrl+s",
- "command": "expandLineSelection",
- "when": "editorTextFocus"
- },
- // //调试debug
- // {
- // "key": "alt+3",
- // "command": "workbench.action.debug.restart",
- // "when": "inDebugMode"
- // },
- // {
- // "key": "ctrl+t",
- // "command": "extension.translateon",
- // "when": "editorTextFocus"
- // }
- // log日志打印参数信息
- {
- "key": "ctrl+enter",
- "command": "extension.complete-statement",
- "when": "editorTextFocus"
- },
- // log日志打印参数信息
- {
- "key": "alt+w",
- "command": "extension.insertLogStatement",
- "when": "editorTextFocus"
- },
- // tab element键设置
- {
- "key": "alt+a",
- "command": "editor.emmet.action.expandAbbreviation",
- "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !config.emmet.useNewEmmet && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus"
- }
- ]
快捷键设置 keyiing.json的更多相关文章
- vsCode快捷键设置
// 快捷键设置 keyiing.json // 将键绑定放入此文件中以覆盖默认值 [ /* // 转换大写 { "key" : "ctr ...
- 【Sublime Text】sublime修改默认浏览器及使用不同浏览器打开网页的快捷键设置
#第一步:安装SideBarEnhancements插件 下载插件,需要“翻墙”,故提供一下该插件的github地址:https://github.com/titoBouzout/SideBarEnh ...
- VS CODE一些常见配置操作(快捷键设置、C/C++的debug、代码路径配置)
总述 今天来一篇简单的操作文章吧,VSCODE是我们经常用的软件,我之前也写过关于VSCODE远程办公的一些的操作(有兴趣的朋友可以点击进去看看),今天我再稍微介绍一些我其他地方用到的一些操作 ...
- 在Ubuntu|CentOS上安装Shutter截图工具及快捷键设置
简介 Shutter前身叫GScrot,它是一款相当棒的截图软件. 通过Shutter,你可以截取包括选定区域.全屏幕.窗口.窗口内的控件甚至网页的图像.通过内置的强大插件机制,你可以在截图后,对图像 ...
- PhpStorm 8.x/9.x 快捷键设置/个性化设置,如何多项目共存?如何更换主题?
1."自定义"常用快捷键(设置成跟Eclipse差不多) 按照路径:File -> Settings -> Appearance & Behavior -> ...
- Allegro 快捷键设置
一.快捷键设置 Allegro可以通过修改env文件来设置快捷键,这对从其它软件如AD或PADS迁移过来的用户来说,可以沿用以前的操作习惯,还是很有意义的. Allegro的变量文件一共有2个:一个是 ...
- SublimeREPL快捷键设置
SublimeREPL 允许你在 Sublime Text 中运行各种语言(NodeJS , Python,Ruby, Scala 和 Haskell 等等).所以对于程序员来说,这是很重要的一个插件 ...
- iOS - Mac 锁屏快捷键设置
Mac 锁屏快捷键设置 control + shift + Eject 锁屏快捷键 如果用户要离开电脑一段时间,可以选择直接把笔记本直接合上.但是这样原先在跑的进程就会挂起或者结束,如果正在下载,那么 ...
- Pycharm使用问题# 快捷键设置
Pycharm内部设置也已经变得非常复杂,此处说明我改变字体大小的快捷键设置. 在Settings中找到Keymap一项,默认显示会展开Editor Actions一项: 在里面分别找到Decreas ...
随机推荐
- .NET 使用中文编码
在.Net Core中默认System.Text中不支持CodePagesEncodingProvider.Instance, System.Text.Encoding.CodePages.dll允许 ...
- 设计模式(七)Adapter Pattern适配器模式
适用场景:旧系统的改造升级 实际场景:java.io.InputStreamReader(InputStream)等 1.一个被适配的类 package com.littlepage.AdapterP ...
- [转]pugixml使用教程
转自:https://www.cnblogs.com/ltm5180/p/3989125.html pugixml介绍 pugixml是一个高性能.轻量级并且简单易用的xml解析库,支持UTF8 en ...
- vscode所用插件
- PCA分析和因子分析
#由此说明使用prcomp函数时,必须使用标准化过的原始数据.如果使用没有标准化的raw数据(不是相关系数矩阵或者协方差矩阵),必须将参数scale. = T <result>$sdev ...
- EasyUI datebox 设置不可编辑后再次修改为可编辑失效的解决
工作中遇到的问题,折腾了好久: 如下图: 需求:当状态发生改变后,如果状态是未核实 , 核实人 核实时间 核实结果 核实说明 均为不可编辑状态 具体js代码如下: //状态改变 $('#js ...
- lua中产生 1 - n 之间不重复随机数
local function GetRandomNumList(len) local rsList = {} ,len do table.insert(rsList,i) end local num, ...
- MySql常用函数全部汇总
MySQL数据库中提供了很丰富的函数.MySQL函数包括数学函数.字符串函数.日期和时间函数.条件判断函数.系统信息函数.加密函数.格式化函数等.通过这些函数,可以简化用户的操作.例如,字符串连接函数 ...
- HTML 第十三章总结
前言 这一章的内容主要是处理 HTML 中的 tabular data,可以分为三个部分: 如何在 HTML 中创建表格 如何在 CSS 中 style 表格 如何在 CSS 中 style HTML ...
- Getting Started with Processing 第四章总结
为什么要使用变量: 我们使用变量的一个重要原因就是避免变成过程中的重复工作,如果你重复使用某一个数字超过了一次,就可以考虑使用一个变量来代替它,这样你的程序会更加通用并且易于更新. 定义变量 定义变量 ...