选择 file --- settings --- Editor --- General 选项卡的 other 中:
Strip trailing spaces on Save --- 选择 All
Always keep trailing spaces on caret line --- 取消勾选
选择 file --- settings --- Editor --- General 选项卡的 other 中:
Strip trailing spaces on Save --- 选择 All
Always keep trailing spaces on caret line --- 取消勾选