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