赞
踩
Window -> Preferences -> C/C++ -> Code Style -> Formatter BSD/Allman [built-in] or K& R [built-in]
[1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/