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 ...
随机推荐
- JaveWeb 公司项目(5)----- Java获取当前时间的年月日以及同Thrift格式的转化
随着项目进度的逐步完成,数据传输和界面基本上已经搭建完成,下面就是一些细节部分的修改 今天博文的主要内容说的是获取当前的时间和同Thrift类型的转化 和C#类似,java也有一个时间类Date,加载 ...
- 单源最短路——Dijkstra模板
算法思想: 类似最小生成树的贪心算法,从起点 v0 每次新拓展一个距离最小的点,再以这个点为中间点,更新起点到其他点的距离. 算法实现: 需要定义两个一维数组:①vis[ i ] 表示是否从源点到顶点 ...
- CentOS6.5下安装、配置SSH
1.登录CentOS 6.5系统,使用root用户登录,如果为非root用户则执行 su 或 su - 或 su root 或 su - root 输入root密码切换为root用户. 2.查看SSH ...
- VC.时间(网页内容收集)
1.VC++获得当前系统时间的几种方案_记忆53秒_新浪博客.html(http://blog.sina.com.cn/s/blog_676271a60101i0hb.html) 1.1.内容保存: ...
- 《剑指offer》第五十三题(数组中数值和下标相等的元素)
// 面试题53(三):数组中数值和下标相等的元素 // 题目:假设一个单调递增的数组里的每个元素都是整数并且是唯一的.请编程实 // 现一个函数找出数组中任意一个数值等于其下标的元素.例如,在数组{ ...
- lua --- unpack
unpack 返回数组中的所有元素,包括 nil,注意是数组,对于 k-v 是不返回的!!! do , ,o = } print(unpack(tab)) --默认从索引 1 开始 )) --从索引 ...
- python中configparser模块的使用
configparser模块用于生成和修改常见配置文档,当前模块的名称在 python 3.x 版本中变更为 configparser. 首先要写一个如下所示的配置文件: [DEFAULT] serv ...
- array_map的使用
其结果为:
- 如何在Virtualbox中对Ubuntu系统根分区扩容
转载: 参见博客: https://blog.csdn.net/LEON1741/article/details/56494797 前在Virtualbox中安装了一个Ubun ...
- p1217 Prime Palindromes
1.回文质数的数量很少 2.除了11以外的回文质数都是偶数. 3.1-1亿内的回文数不到30000个. 4.1-10000的质数约1000个. 这样深搜找出所有的回文数,再判断是否质数. #inclu ...