前言

记入一些自己常用到的 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的更多相关文章

  1. [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 ...

  2. Mousetrap - Keyboard shortcuts in Javascript

    Mousetrap is a simple library for handling keyboard shortcuts in Javascript. It is around 2kb minifi ...

  3. OS X: Keyboard shortcuts

    Using keyboard shortcuts To use a keyboard shortcut, press a modifier key at the same time as a char ...

  4. keyboard shortcuts & Xcode 10

    keyboard shortcuts & Xcode 10 Xcode Keyboard Shortcuts https://swifteducation.github.io/assets/p ...

  5. MBP 2018 & Mac keyboard shortcuts

    MBP 2018 & Mac keyboard shortcuts https://support.apple.com/en-us/HT201236 delete key === Contro ...

  6. [转]UiPath Keyboard Shortcuts

    本文转自:https://docs.uipath.com/studio/docs/keyboard-shortcuts The complete list of keyboard shortcuts ...

  7. VS code key shortcuts for windows

    mac上的快捷键,尽量是选择像我用vs studio上靠近. ctrl+K+S: 显示快捷键列 ctrl+shift+p: 系统配置命令行 ctrl+p:项目中文件列表,选择文件 Alt+M:当前文件 ...

  8. 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 ...

  9. RStudio Keyboard Shortcuts

    Console Description Windows & Linux Mac Move cursor to Console Ctrl+2 Ctrl+2 Clear console Ctrl+ ...

  10. [转]33 useful Keyboard Shortcuts for Run commond

    原文: http://www.shortcutworld.com/en/win/Run-command.html 1. Calling Run CommandWin + r               ...

随机推荐

  1. ComfyUI进阶:Comfyroll插件 (七)

    前言: 学习ComfyUI是一场持久战,而Comfyroll 是一款功能强大的自定义节点集合,专为 ComfyUI 用户打造,旨在提供更加丰富和专业的图像生成与编辑工具.借助这些节点,用户可以在静态图 ...

  2. 【MySQL】MySQL 执行创建存储过程报错的解决方法

    源码 创建使用while循环插入数据的存储过程 设置mysql分隔符为// delimiter // drop procedure if exists while1 ; create procedur ...

  3. 【Mybatis-Plus】联表分页查询实现

    参考文章: https://blog.csdn.net/weixin_43847283/article/details/125822614 上上周写的SQL案例确实可以重构,所以搬到Demo里面测试看 ...

  4. 【Mybatis-Plus】06 代码生成器 CodeGenerator

    导入生成器需要的依赖坐标: <dependency> <groupId>com.baomidou</groupId> <artifactId>mybat ...

  5. nginx+tomcat部署均衡+虚拟IP配置

    一.配置java环境 更新数据源 sudo apt update 安装java sudo apt install openjdk-java-8-jdk 查看是否安装成功 java -version 二 ...

  6. 学术写作: These authors contributed equally to this work. —— 共同一作

    早些年很少看到论文里面有: These authors contributed equally to this work. 不过现在这种方法在论文中出现的还是比较多的,说白了,这种共同一作的声明其实是 ...

  7. 外形最漂亮的人形机器人——通用机器人Apollo,设计为可以在任何任务和环境中与人类进行协作

    视频地址: https://www.bilibili.com/video/BV11F4m1M7ph/

  8. 机器人操作系统ROS (学习视频)—— 学习ROS,安装Ubuntu,虚拟机和双系统如何选择

    分享一个ROS入门视频: https://www.bilibili.com/video/BV1BP4y1o7pw/

  9. 【转载】 python之理解super及MRO列表

    原文地址:   https://www.jianshu.com/p/de7d38c84443 ----------------------------------------------------- ...

  10. 支持AMD GPU —— 如何运行docker环境下的Jax环境

    相关: 支持NVIDIA GPU -- 如何运行docker环境下的Jax环境 官方给出的安装主页: https://hub.docker.com/r/rocm/jax 安装命令: docker pu ...