vscode settings.json
2024-10-15 01:19:36
// 快捷键设置 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"
}
]
最新文章
- kettle中全局变量的设置
- aspnet_isapi.dll设置图文介绍.net的程序实现伪静态
- OC中类别、扩展、协议与委托
- Noip2000 T3 单词接龙
- 有了这个,再也不用每次连新机器都要设置secure crt属性了
- Android 学习笔记之如何实现简单相机功能
- APP性能分析1
- Oracle 学习系列之一(表空间与表结构)
- 如何实现一个malloc函数
- Sort List ——LeetCode
- ubuntu用户及用户组文件信息
- angular4 JavaScript内存溢出问题 (FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory)
- vue实现带规格商品的表格编辑
- linux sed的一些技巧
- python3 读取文件跳过文件第一行内容
- python记录day24 模块的语法
- 20145315《网络对抗》——注入shellcode以及 Return-to-libc攻击实验
- WINDOWS安装mysql5.7.20
- android 多渠道打包
- Python中的赋值语法
热门文章
- MySQL的分区、分表、集群
- 41A
- 图片居中table-cell
- ASP.NET CORE 2.0 Uses SignalR Technology
- Django框架详细介绍---模型---ORM
- 【Checkio Exercise】Robot Sort
- python fabric的用法
- JS的防抖与节流
- ili9325--LCD寄存器配置研究
- if __name__ == ";__main__";: