Visual Studio Code可以通过以下快捷键 格式化代码:
On Windows Shift + Alt + F
Shift
Alt
F
On Mac Shift + Option + F
Option
On Ubuntu Ctrl + Shift + I
Ctrl
I
from: https://www.cnblogs.com/ryanzheng/p/10950870.html