vsCode快捷键设置
- // 快捷键设置 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"
- // }
- ]
vsCode快捷键设置的更多相关文章
- VSCode 同步设置及扩展插件 实现设备上设置统一
准备工作:电脑上需安装VSCode,拥有一个github账户.实现同步的功能主要依赖于VSCode插件 "Settings Sync" Setting Sync 可同步包含的所有扩 ...
- vscode快捷键
vscode快捷键 按 ctrl+shift+p 查找设置文件Ctrl + W 关闭编辑器 设置定位到终端的快捷键:打开键盘配置文件,搜索focus terminal,找到聚焦到终端的命令,添加ctr ...
- VScode快捷键、Chrome快捷键知识小总结和状态码
一.VS code的一些快捷键 Shift + Delete 删除一整行 ctrl + Delete 删除光标之后到标点的数据 Delete 删除光标之后 ...
- Mac 键盘符号 及VSCode快捷键 说明
Mac 键盘符号说明 ⌘ == Command ⇧ == Shift ⇪ == Caps Lock ⌥ == Option ⌃ == Control ↩ == Return/Enter ⌫ == De ...
- VScode基础设置
安装依赖包: • One Monokai • Aglia • One Dark Pro • Material Icon 漂亮的主题: Themes Quokka 是一个调试工具插件,能够根据你正在 ...
- 动图演示23个鲜为人知的VSCode快捷键
动图演示23个鲜为人知的VSCode快捷键 原文地址:dev.to/devmount/23… 代码同步浏览器 安装vccode 安装live server插件 尽管我在VS Code中经常使用许多快捷 ...
- vscode快速生成html模板(vscode快捷键"!"生成html模板)
问题: 在vscode中新建test.html, 内容是空白的,输入"!",然后按tap键 ,没有生成常见的html模板,也就是如下: 输入! html html:5 DOCTYP ...
- VS CODE一些常见配置操作(快捷键设置、C/C++的debug、代码路径配置)
总述 今天来一篇简单的操作文章吧,VSCODE是我们经常用的软件,我之前也写过关于VSCODE远程办公的一些的操作(有兴趣的朋友可以点击进去看看),今天我再稍微介绍一些我其他地方用到的一些操作 ...
- vscode常用设置
1.代码提示快捷键设置:(keybindings.json) { "key": "ctrl+j","command": "edit ...
随机推荐
- mariaDB中文乱码
cetos7 下 http://hongjun.blog.51cto.com/445761/400985 1 . copy 一个文件成 /etc/my.cnf cp /usr/share/mysql ...
- layout_gravity与gravity的区别,和padding margin的区别
https://blog.csdn.net/github_39688629/article/details/77790541
- netstat 在windows下和Linux下查看网络连接和端口占用
假设忽然起个服务,告诉我8080端口被占用了,OK,我要去看一下是什么服务正在占用着,能不能杀 先假设我是在Windows下: 第一列: Proto 协议 第二列: 本地地址[ip+端口] 第三列:远 ...
- 整数m去掉n位后剩下最大(小)值
题目描述 给定一个正整数(<=255位),从中删去n位后,使得剩下的数字组成的新数最小(大): 思路:从左到右开始扫描,两两比较,如果是前一位比后一位大,则删去前大的一位,直到删完所有的n位: ...
- 《剑指offer》第五十三题(数字在排序数组中出现的次数)
// 面试题53(一):数字在排序数组中出现的次数 // 题目:统计一个数字在排序数组中出现的次数.例如输入排序数组{1, 2, 3, 3, // 3, 3, 4, 5}和数字3,由于3在这个数组中出 ...
- Python Selenium unittest+HTMLTestRunner实现 自动化测试及发送测试报告邮件
1.UI测试框架搭建-目录结构 2. 文件介绍 2.1.baseinfo->__init__.py 配置文件定义基础参数 #-*-coding:utf-8-*- #测试用例配置参数 base_u ...
- Python&HDF5目录
最近一直没更新python&量化的博客,是因为忙于看HDF5的书,写VNPY框架,学scrapy爬虫. 本来写博客的目的就是为了当作一种教材,当遇到不会的问题过来找答案. 对于HDF5下面这本 ...
- java8新特性(二)_lambda表达式
最近一直找java8相关新特性的文章,发现都太没有一个连贯性,毕竟大家写博客肯定都有自己的侧重点,这里找到一本书,专门介绍java8新特性的,感觉大家可以看看<写给大忙人看的JavaSE8> ...
- VS2008版本引入第三方dll无强签名
sn.exe 和ilasm.exe 是系统自带程序.如果显示无此命令,可以从“我的电脑”直接搜索. 将dll文件放入目录下,用VS开发人员命令执行以下命令即可.(以Interop.Scripting. ...
- android--------自定义控件 之 组合控件篇
上篇介绍了自定义控件的自定义属性篇,地址:http://www.cnblogs.com/zhangqie/p/8969163.html 这篇博文主要来说说 自定义控件的组合控件来提高布局的复用 使用自 ...