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