VS Code – Keyboard Shortcuts
前言
记入一些自己常用到的 Keyboard Shortcuts 和 Extensions。
Keyboard Shortcuts
undo redo 鼠标坐标:shift + left/right
它可以控制鼠标坐标回到上一次的位置 (即便是不同的 file)
在看源码的时候非常好用,比如你跑到千里之外后,突然想回到刚才某个看过的段落,就可以通过 shift + left 一直跳回去找,
看好了以后又可以 shift + right 前进回到刚才的地方。
缩略 展开:ctrl + k + 0 and ctrl + k + j
ctrl + k + 0 是缩略所有代码片段。
ctrl + k + j 是展开所有代码片段。
当我们打开一个 file 时,代码太多太乱了,所以通常第一步就是 ctrl + k + 0。
缩略 展开:ctrl + k + [ and ctrl + k + ]
ctrl + k + 0 effect 整个 file 的代码。范围太大。
如果我们只想要缩略当前一行,可以用 ctrl + k + [
这样就只有一行被缩略。
ctrl + k + ] 则是展开某一行。
注意:只能一行,不能是 selection。不够方便
open search file:ctrl + p
找 folder
open search text:ctrl + f
找字
open cmd (command):ctrl + `
cmd.exe
open VS Code / Extensions command:ctrl + shift + p
想 search VS Code 或 Extendsion 的 command 就用 ctrl + shift + p
rename:f2
close tab:ctrl + w
关闭当前的 file tab。
undo close tab:ctrl + shift + t
不小心关掉 tab 可以 undo 开回来。
注释:ctrl + /
代码行上下移位:alt + up/down

TODO...
VS Code – Keyboard Shortcuts的更多相关文章
- [No0000113]Keyboard shortcuts for Windows Visual Studio Code
General 常用Ctrl+Shift+P, F1 Show Command Palette 显示命令行Ctrl+P Quick Open, Go to File… 快速打开Ctrl+Shift+N ...
- Mousetrap - Keyboard shortcuts in Javascript
Mousetrap is a simple library for handling keyboard shortcuts in Javascript. It is around 2kb minifi ...
- OS X: Keyboard shortcuts
Using keyboard shortcuts To use a keyboard shortcut, press a modifier key at the same time as a char ...
- keyboard shortcuts & Xcode 10
keyboard shortcuts & Xcode 10 Xcode Keyboard Shortcuts https://swifteducation.github.io/assets/p ...
- MBP 2018 & Mac keyboard shortcuts
MBP 2018 & Mac keyboard shortcuts https://support.apple.com/en-us/HT201236 delete key === Contro ...
- [转]UiPath Keyboard Shortcuts
本文转自:https://docs.uipath.com/studio/docs/keyboard-shortcuts The complete list of keyboard shortcuts ...
- VS code key shortcuts for windows
mac上的快捷键,尽量是选择像我用vs studio上靠近. ctrl+K+S: 显示快捷键列 ctrl+shift+p: 系统配置命令行 ctrl+p:项目中文件列表,选择文件 Alt+M:当前文件 ...
- Google Chrome Keyboard Shortcuts
Navigation To do this Press this Open a new window Ctrl + N Open a new tab Ctrl + T Open a new windo ...
- RStudio Keyboard Shortcuts
Console Description Windows & Linux Mac Move cursor to Console Ctrl+2 Ctrl+2 Clear console Ctrl+ ...
- [转]33 useful Keyboard Shortcuts for Run commond
原文: http://www.shortcutworld.com/en/win/Run-command.html 1. Calling Run CommandWin + r ...
随机推荐
- 安装和引入方式在Element UI (Vue 2)和Element Plus (Vue 3)中的不同
安装和引入方式 Element UI (Vue 2): // main.js import Vue from 'vue'; import ElementUI from 'element-ui'; im ...
- 第九节 JMeter基础-高级登录【接口关联-鉴权】
声明:本文所记录的仅本次操作学习到的知识点,其中商城IP错误,请自行更改. 背景:电商的功能:登录.加入购物车.提交订单.问题:谁把什么商品加入了购物车?这时需要把上一个接口的响应数据(登录成功后返回 ...
- 【AppStore】IOS应用上架Appstore的一些小坑
前言 上一篇文章写到如何上架IOS应用到Appstore,其中漏掉了些许期间遇到的小坑,现在补上 审核不通过原因 5.1.1 Guideline 5.1.1 - Legal - Privacy - D ...
- RHCA cl210 016 流表 overlay
Overlay网络是建立在Underlay网络上的逻辑网络 underlay br-int 之间建立隧道 数据流量还是从eth1出去 只有vlan20 是geneve隧道.只有租户网络有子网,子网需要 ...
- 一文带你了解CAP的全部特性,你学会了吗?
目录 前言 消息发布 携带消息头 设置消息前缀 原生支持的延迟消息 并行发布消息 事务消息 事务消息发送 事务消息消费 事务补偿 消息处理 序列化 过滤器 消息重试 多线程处理 自动恢复/重连 分布式 ...
- Jmeter函数助手41-unescapeHtml
unescapeHtml函数用于将HTML转义过的字符串反转义为Unicode字符串. String to unescape:填入字符 1.escapeHtml函数是将字符进行HTML转义,unesc ...
- Jmeter参数化5-JSON提取器
后置处理器[JSON提取器] ,一般放于请求接口下面,用于获取接口返回数据里面的json参数值 1.以下json为例,接口返回的json结果有多组数据.我们要取出purOrderNo值 2.在jmet ...
- SourceGenerator 生成db to class代码优化结果记录 二
优化 在上一篇留下的 Dapper AOT 还有什么特别优化点的问题 在仔细阅读生成代码和源码之后,终于得到了答案 个人之前一直以为 Dapper AOT 只用了迭代器去实现,所以理应差不多实现代码却 ...
- python高性能计算:cython入门代码
三种实现的对比: (1)纯python x.py def is_prime(num): for j in range(2, num): if (num%j)==0: return False retu ...
- 并行化强化学习 —— 最终版本 —— 并行reinforce算法的尝试
本文代码地址: https://gitee.com/devilmaycry812839668/final_-version_-parallelism_-reinforce_-cart-pole 结合了 ...