zoukankan      html  css  js  c++  java
  • vscode keys

    // 快捷键设置 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"
    // }

    ]
    昨日已逝正在输入···
    赞赏支持!!!
    分享到: 更多
  • 相关阅读:
    Oracle:Using the DBMS_STATSpackage
    Oracle partitioning is not always a good idea.
    Oracle: Benefits and consequences of the NOLOGGING option
    Oracle :Insert ways.
    Oracle:临时表的统计信息
    C#中使用DTS来导入数据及相关问题
    [收藏]CSS网页制作时实现自动换行的小技巧
    新加了牛人的Blog链接
    在.Net下使用Access 的日期类型 及与js的日历控件交互
    在程序中生成PDF
  • 原文地址:https://www.cnblogs.com/rhxuza1993/p/10205356.html
Copyright © 2011-2022 走看看