// 快捷键设置 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 keys的更多相关文章

  1. VScode链接服务器并配置公钥-SSH Keys

    VScode链接服务器并配置公钥-SSH Keys 一直在用Xshell做SSH连接服务器与虚拟机,但是中文乱码的问题一直找不到解决方案,干脆使用编辑器自带的插件,集成之后用起来也方便 1.概述 做法 ...

  2. vscode restclient 插件

    使用步骤: 1.vscode 安装restclient 扩展 2.创建  .http 或 .rest 文件 ,编写相应内容 同一个文件内 可以通过 ### 分割多个请求 可以通过 @hostname ...

  3. Ubuntu 通过apt安装VSCode

    1. sudo vim /etc/apt/sources.list.d/vscode.list 并向里面添加:deb [arch=amd64] http://packages.microsoft.co ...

  4. centos 7 安装vscode

    网上很多写的安装,会遇到一个问题,就是无法启动: sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh ...

  5. VSCode插件开发全攻略(五)跳转到定义、自动补全、悬停提示

    更多文章请戳VSCode插件开发全攻略系列目录导航. 跳转到定义 跳转到定义其实很简单,通过vscode.languages.registerDefinitionProvider注册一个provide ...

  6. CentOS 上使用vscode 调试百度大数据分析框架Apache Doris BE

    A: 前期准备工作 1. 安装vscode,详细请参见vscode官网https://code.visualstudio.com/docs/setup/linux,摘要如下: sudo rpm --i ...

  7. Angular+Electron+VSCode的桌面应用

    Angular+Electron+VSCode的桌面应用 转自:http://blog.csdn.net/yr7942793/article/details/50986696 第一部分 Electro ...

  8. linux 安装vscode

    滚动安装vscode 需要先添加源,然后install 以centos为例: sudo rpm --import https://packages.microsoft.com/keys/microso ...

  9. python vscode在centos下安装

    对于centos则如下: sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c 'echo -e ...

随机推荐

  1. LCA Tarjan方法

    LCA Tarjan方法 不得不说,高中生好厉害,OI大佬,感觉上个大学好憋屈啊! 说多了都是眼泪 链接拿去:http://www.cnblogs.com/JVxie/p/4854719.html

  2. windows----------windows查看端口是否被占用

    假如我们需要确定谁占用了我们的80端口在windows命令行窗口下执行: netstat -aon|findstr "80" TCP 127.0.0.1:80 0.0.0.0:0 ...

  3. Python str byte 互相转换

  4. vue和jQuery嵌套实现异步ajax通信

    <!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8&qu ...

  5. 用命令行打开sublime

    在linux下装了linux后默认并不能通过运行命令的方式打开,这就让我们不能像vim一样可以通过 vim <fileName> 来打开文件. 不过我们可以通过把sublime的执行文件放 ...

  6. tensorboard窥视

    运行神经网络时,跟踪网络参数,以及输入输出是很重要的,可据此判断模型是否在学习,损失函数的值是否在不断减小.Tensorboard通过可视化方法,用于分析和调试网络模型. 使用tensorboard的 ...

  7. 利用js和JQuery定义一个导航条菜单

    利用js和JQuery定义一个导航条 效果: 一.html代码: <div class="Maintenance"> <div class="Title ...

  8. 单端测序(Single-read)和双端测序(Paired-end和Mate-pair)的关系

    https://blog.csdn.net/hanli1992/article/details/82982434

  9. shell 三剑客

    grep 过滤来自一个文件或标准输入匹配模式内容. 除了grep外,还有egrep.fgrep.egrep是grep的扩展,相当于grep -E.fgrep相当于grep -f,用的少. Usage: ...

  10. Linux基础命令---lprm删除打印任务

    lprm lprm指令用来删除当前打印队列上的任务,如果没有指定,那么就删除当前打印任务.您可以指定一个或多个职务ID编号来取消这些职务,或者使用选项”-”取消所有作业. 此命令的适用范围:RedHa ...