6

Visual Studio Code - vscode使用小心得

 3 years ago
source link: https://www.pkslow.com/archives/vscode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
技术之前,先读诗书:

帘外百舌儿,惊起五更春睡。

向上/下移动:可以单行,也可以多行

Win: Alt + Up/Down

Mac: Option + Up/Down

向上/下复制:可以多行。

Win: Shift + Alt + Up/Down

Mac: Shift + Option + Up/Down

多光标选择

Alt+左键,添加多个光标;

按住Alt后,自由选择多段文本;

Shift + Alt,然后鼠标左键拖动;

Win: Ctrl + Shift + K

Mac: command + Shift + K

删除光标后的内容

Win: Ctrl + Delete

Mac: command + Delete

删除上一个单词

Win: Ctrl + Backspace

Mac: Option + Delete

侧边栏显示/隐藏

Win: Ctrl + B

Mac: command + B

查找/替换

Win: Ctrl + F/Ctrl + H

Mac: command + F/command + Option + F

全局查找/替换

Win: Ctrl + Shift + F/Ctrl + Shift + H

Mac: command + Shift + F/command + Shift + F

最近打开的文件

Win: Ctrl + P

Mac: command + P

重新打开关闭的编辑页面

Win: Ctrl + Shift + T

Mac: command + Shift + T

自动换行、取消自动换行

Win: Alt + Z

Mac: Option + Z

打开关闭终端

Ctrl + `

PostgreSQL

Remote SSH

显示pdf文件

GitLens工具

REST Client

Docker

Ctrl鼠标滚动改变字体大小

设置搜索Mouse Wheel Zoom后打开功能:

单行太长是否换行:Word Wrap

Reveal file in sidebar

设置快捷键为Option + F(Windows 为Alt + F)。


欢迎关注微信公众号<南瓜慢说>,将持续为你更新...

推荐阅读:
如何制定切实可行的计划并好好执行
容器技术(Docker-Kubernetes)
SpringBoot-Cloud相关
Https专题


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK