Visual Studio Code可以通过以下快捷键格式化代码:On Windows Shift + Alt + FOn Mac Shift + Option + FOn Ubuntu Ctrl + Shift + I