Intellij idea编写代码如何在方法之间加入一条分割线

位置:【File】→【Settings】→【Editor】→【General】→【Appearance】→【Show method separators】
把【Show method separators】打上勾即可。
Intellij idea编写代码如何在方法之间加入一条分割线