This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
选中代码、
鼠标右击,source--formate
或者按快捷键 ctrl + shift + F
也许这样做之后,得到排版不是你希望的格式,那么可以在设置中修改样式后再按ctrl + shift + F