在 MAC 上:
Ctrl + J
在 Windows 上:
Shift + Alt + F
在 Mac 上:
Shift + Option + F
在 Ubuntu 上:
Ctrl + Shift + I
打开用户设置页面 (
Preferences
>Settings
>User TAB
);
点击右上角的图标切换到代码编辑模式;
添加
"files.trimTrailingWhitespace": true
到设置文件中;保存你的设置文件。
在 Windows/Ubuntu 上:
Ctrl + Shift + [
在 Mac 上:
Command+ Option + [
在 Windows/Ubuntu 上:
Ctrl + Shift + ]
在 Mac 上:
Command+ Option + ]
在 Windows 上:
Shift + Alt + Up/Down
在 Mac 上:
Shift + Option + Up/Down
在 Ubuntu 上:
Ctrl + Shift + Alt + Up/Down
在 Windows 上:
Shift + Alt + \ or 2,3,4
在 Mac 上:
Command + \ or 2,3,4
在 Ubuntu 上:
Shift + Alt + \ or 2,3,4
在 Windows 上:
Ctrl+ d
在 Mac 上:
Command + d
在 Ubuntu 上:
Ctrl+ d
在 Windows 上:
Ctrl+ b
在 Mac 上:
Command + b
在 Ubuntu 上:
Ctrl+ b
在 Windows 上:
Ctrl + g
在 Mac 上:
Ctrl + g
orCtrl + p
在 Ubuntu 上:
Ctrl + g
在 Windows 上:
Ctrl + t
在 Mac 上:
Command + t
在 Ubuntu 上:
Ctrl + t
在 Windows 上:
Ctrl + backspace
在 Mac 上:
Option + delete
在 Ubuntu 上:
Ctrl + backspace
在 Windows 上:
Ctrl + Shift + 右键头 / 左键头
在 Mac 上:
Option + Shift + 右键头 / 左键头
在 Ubuntu 上:
Ctrl + Shift + 右键头 / 左键头
在 Windows 上:
Ctrl + Shift + d
在 Mac 上:
Command + Shift +d
在 Ubuntu 上:
Ctrl + Shift + d
在 Windows 上:
Ctrl + x
在 Mac 上:
Command + x
在 Ubuntu 上:
Ctrl + x
在 Windows 上:
Ctrl + Alt + Up/Down
在 Mac 上:
Command + Alt + Up / Down
在 Ubuntu 上:
Ctrl + Alt + Up / Down
在 Windows 上:
F2
在 Mac 上:
F2
在 Ubuntu 上:
F2
在 Windows 上:
Shift + Alt
在 Mac 上:
Shift + Option
在 Ubuntu 上:
Shift + Alt
在 Windows 上:
Ctrl + p
在 Mac 上:
Command + p
在 Ubuntu 上:
Ctrl + p
Linux:https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf
Window:https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
macOS:https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
本文分享自微信公众号 - 前端开发社区(pt1173179243)。
如有侵权,请联系 [email protected] 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。