位置:【File】→【Settings】→【Editor】→【General】→【Appearance】→【Show method separators】 把【Show method separators】打上勾即可。