1、打开idea后,点击顶部菜单【File】
2、在弹出的窗口中,点击【Settings】
3、点打开【Editor--General--Appearance】
4、取消勾选【Show hard wrap guide】并点击【OK】