// 快捷键设置 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.toggleHighlight",
// "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+shift+j",
// "command": "editor.Add.doc.comments",
// "when": "editorTextFocus"
// },
// 快速添加注释信息
{
"key": "ctrl+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+e",
"command": "words"
},
//驼峰命名小写下划线
{
"key": "alt+shift+s",
"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.extractMethod"
},
// // json转对象
// {
// "key": "ctrl+shift+j",
// "command": "jsonToJSObject.convert"
// },
// 去除空格
{
"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.insertLogStatementXuza",
"when": "editorTextFocus"
},
// ,
// // tab element键设置
// {
// "key": "alt+a",
// "command": "editor.emmet.action.expandAbbreviation",
// "when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !config.emmet.useNewEmmet && !editorHasMultipleSelections && !editorHasSelection && !editorReadonly && !editorTabMovesFocus"
// }
{
"key": "ctrl+;",
"command": "extension.insertSemicolon",
"when": "editorTextFocus"
},
{
"key": "alt+oem_7",
"command": "extension.quotifyQuoteStrings",
"when": "editorTextFocus"
},
{
"key": "alt+shift+oem_7",
"command": "extension.quotifyUnquoteStrings",
"when": "editorTextFocus"
},
{
"key": "ctrl+oem_2",
"command": "-extension.insertSemicolon",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+w",
"command": "extension.insertLogStatementSplitXuza",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "ctrl+o",
"command": "-workbench.action.files.openFile",
"when": "fileDialog == 'local'"
}
// ,
// {
// "key": "alt+a",
// "command": "extension.insertSelectedAnnotationXuza",
// "when": "editorTextFocus"
// },
// // ctrl+oem_2
// {
// "key": "alt+shift+a",
// "command": "extension.cancelSelectedAnnotationLogXuza",
// "when": "editorTextFocus"
// }
,
{
"key": "alt+shift+c",
"command": "extension.addIdNameClassXuza",
"when": "editorTextFocus"
},
{
"key": "alt+r",
"command": "extension.insertReturntXuza",
"when": "editorTextFocus"
},
{
"key": "alt+v",
"command": "extension.insertJSCSSCommentXuza",
"when": "editorTextFocus"
},
{
"key": "alt+n",
"command": "extension.insertNullXuza",
"when": "editorTextFocus"
},
{
"key": "alt+b",
"command": "extension.insertHtmlCommentXuza",
"when": "editorTextFocus"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "alt+shift+w",
"command": "workbench.action.closeOtherEditors"
}
,
{
"key": "alt+shift+w",
"command": "extension.htmlTagWrap",
"when": "editorTextFocus"
}
]

vscode settings.json的更多相关文章

  1. vscode settings.json配置

    // 将设置放入此文件中以覆盖默认设置 { "editor.fontSize": 18, "editor.tabSize": 2, "editor.m ...

  2. VSCode package.json warning: Problems loading reference 'https://json.schemastore.org/package'...

    报错内容 Problems loading reference 'https://json.schemastore.org/package': Unable to load schema from ' ...

  3. 生成工作区设置文件settings.json

    先Ctrl+Shift+P,然后输入setting搜索 找到工作区设置(工作区,仅在当前打开的界面下生效,文档位置与根目录/.vscode/setting.json(可自己创建,也可不创建)) 选择之 ...

  4. sublime和vscode 格式化Json ——两步走

    目录 1.问题来源 2.sublime安装插件方式 3.使用方式 4.扩展:对于软件vscode 1.问题来源 最近做数据匹配任务,需要生成很多json文件,但是每个json文件又太大,想要逐字段(k ...

  5. 40 VSCode下.json文件的编写——(1) linux/g++ (2).json中参数与预定义变量的意义解释

    0 引言 转入linux/VSCode编程之后,迫切了解到有必有较为系统地学习一下VSCode中相关配置文件的写法.下面将分为 linux/g++编译指令..json文件关键词/替换变量的意义.编译链 ...

  6. VSCode 在.vscode/launch.json中设置启动时的参数

    如下脚本设置启动参数,如题,在.vscode/launch.json文件中,红色部分设置运行参数 { // Use IntelliSense to learn about possible attri ...

  7. vscode 新版设置备份20200221 settings.json

    vscode 新版设置备份20200221 { "sync.gist": "9e6a5f7e8c52047b03c8732ff88aab0e", "s ...

  8. vscode wechat settings.json

    // { // "window.zoomLevel": 0, // "editor.fontSize": 16, // "files.associat ...

  9. vscode配置python之settings.json 智能提示

    vscode编写Python的智能提示,搞了好久,参考了各种网上配置,如下,备份方便自己查找. { "workbench.iconTheme": "material-ic ...

随机推荐

  1. HBase笔记4(调优)

    Master/Region Server调优 JVM调优 默认的RegionServer内存是1G,而Memstore默认占40%,即400M,实在是太小了,可以通过HBASE_HEAPSIZE参数修 ...

  2. latex 参考文献

    https://blog.csdn.net/garfielder007/article/details/51628565 https://www.cnblogs.com/BUAAdaozhong/p/ ...

  3. WebForm内置对象:Session、Cookie,登录和状态保持

    1.Request -获取请求对象 string s =Request["key"]; 2.Response  -  响应请求对象 Response.Redirect(" ...

  4. Shellcode入门

    Shellcode入门 一.shellcode基础知识 Shellcode实际是一段代码(也可以是填充数据),是用来发送到服务器利用特定漏洞的代码,一般可以获取权限.另外,Shellcode一般是作为 ...

  5. 用javaScript获取页面元素值

    用JavaScript获取页面元素常见的三种方法:                                                           getElementById() ...

  6. 2019/4/12 wen 常用类3

  7. Jira和Confluence备份恢复

    jira和confluence备份 备份脚本: #! /bin/bash echo "########################################"   TIM ...

  8. 2018-2019-1 20189206 《Linux内核原理与分析》第九周作业

    #linux内核分析学习笔记 --第八章 进程的切换和系统的一般执行过程 学习目标:重点关注进程切换的过程,进程调度的时机,操作系统的基本构成以及一般的执行过程. 进程调度的时机 因为进程的调度只发生 ...

  9. SSM-网站后台管理系统制作(1)

    好久没写博客了,忙于考试和项目答辩,今天整理一下想弄的SSM:本人想做的是博客管理平台,和博客园,CSDN,stackoverflow这些类似. 老师先让做的是后台管理系统,先给出来吧. (讲解内容: ...

  10. com.opensymphony.xwork2.util.logging.jdk.JdkLogger info 错误

    在启动Tomcat时出现了如下的错误: 警告: Could not create JarEntryRevision for [jar:file:/E:/Programming/apache-tomca ...