-
// 快捷鍵設置 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+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+w",
-
"command": "words"
-
},
-
//駝峰命名小寫下划線
-
{
-
"key": "alt+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.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"
-
// }
-
]