在settings(JSON)中添加此配置即刻,之前换行的需要手动删除回车 "beautify.config": { "brace_style": "collapse,preserve-inline" }