您可以根据代码样式首选项重新格式化文件内容:&shortcut:ReformatCode; 或 Code | Reformat Code。
要访问相关设置:&shortcut:ShowSettings; | Code Style。