// 快捷键设置 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. java之动态代理

    摘要 相比于静态代理,动态代理避免了开发人员编写各个繁锁的静态代理类,只需简单地指定一组接口及目标类对象就能动态的获得代理对象. 这里说的静态代理可以理解为之前使用的装饰者模式,从之前使用装饰者模式实 ...

  2. 判断np.array里面为空字符串的方法

    #多在编译器里尝试新操作 import numpy as np for i range(100): eval1 = {"A": ''"} eval2 = {"A ...

  3. Reservoir sampling

    在看蚂蚁***的时候看到这道题,真心觉得有趣,所以啊,一定要投入其中,知识的美妙啊~ 小明在天猫上开了一个网店,某天要开展一个抽奖活动,奖品数量100个.为了保证活动的公平,小明希望保证每个顾客中奖概 ...

  4. idea显示左边的树形项目结构

    直接上步骤: File-->Project Structure-->Modules-->点击:中间一列框的"+"-->Import Module--> ...

  5. C#计算重重字符串,出现的次数

    int bac = System.Text.RegularExpressions.Regex.Matches(“字符串”, @"要计算的").Count;        //字符串 ...

  6. IE缓存清除

    原文转载自:http://blog.csdn.net/whatday/article/details/7566925 首先: 在  stdafx.h中要加入: #include "atlba ...

  7. three.js 3d三维网页代码加密的实现方法

    http://www.jiamisoft.com/blog/17827-three-js-3dsanweiwangyejiami.html https://www.html5tricks.com/ta ...

  8. Html Title 标签

    Html Title 标签 Title 是 HTML Head 内部标签 <html> <head> <!-- Title标签:HTML的标头标题 --> < ...

  9. Python RabbitMQ消息分发轮询

    1.收消息:一对多,默认依次轮询的发给每个消费端. 2.消息确认:默认RabbitMQ不会设置no_ack=Ture,意思是,当生产者给消费者发送发送消息时,消费者处理这个消息,处理完后会手动确认发送 ...

  10. 在线视频下载利器——youtube-dl

    youtube-dl是谷歌出品的在线视频下载利器,可以用来下载youtube视频(前提是你得能上youtube). 使用方法很简单,只需要在cmd下执行youtube-de.exe +视频页面网址,程 ...