// 快捷键设置 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. Cartographer源码阅读(8):imu_tracker

    IMU的输入为imu_linear_acceleration 和  imu_angular_velocity 线加速和角速度.最终作为属性输出的是方位四元数.  Eigen::Quaterniond ...

  2. Tomcat服务安全加固

    Tomcat服务默认启用了管理后台功能,使用该后台可直接上传 war 文件包对站点进行部署和管理.由于运维人员的疏忽,可能导致管理后台存在空口令或者弱口令的漏洞,使得黑客或者不法分子可以利用该漏洞直接 ...

  3. automapper demo

    最近做项目,需要把DataTable中的数据强类型化.于是试用了下比较常用的AutoMapper,通过看代码中附带的Demo与网上的教程,也算能够勉强使用了,现将学习笔记记录如下: namespace ...

  4. windows----------如何修改windows服务器远程端口

    远程连接并登录到 Windows 实例. 选择开始 > 运行,输入 regedit 打开注册表编辑器. 查找 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSe ...

  5. 本地资源_Asset

    数据 using System.Collections.Generic; using UnityEngine; public enum Enum_Test { A, B, C, } [System.S ...

  6. js对象属性名驼峰式转下划线

    一.题目示例: 思路: 1.匹配属性名字符串中的大写字母和数字 2.通过匹配后的lastIndex属性获取匹配到的大写字母和数字的位置 3.判断大写字母的位置是否为首位置以及lastIndex是否为0 ...

  7. 配置 ROS 的 apt 源

    配置 ROS 的 apt 源 ROS的apt源有官方源.国内 USTC 源或新加坡源可供选择, 选择其一就可以了,建议使用国内 USTC 源或新加坡源,安装速度会快很多. 方式一:官方源 $ sudo ...

  8. 使用addeventlistener为js动态创建的元素添加事件监听

    点击li弹出内容,并且动态添加li之后有效 <button onclick="addFunction()">点我增加</button> <ul> ...

  9. wget下载阿里云RDS备份集

    [root@localhost tmp]# more wget.sh #!/bin/bash download_url=`python /tmp/geturl.py` echo $download_u ...

  10. flask --- 01 .初始

    一. 四种web框架比较 Django : 优点 - 大而全所有组件都是有组织内部开发高度定制化 教科书级别的框架 缺点 - 大到浪费资源,请求的时候需要的资源较高 Flask : 优势 - 小而精, ...