Preferences - > Settings - Userbash
加入:spa
"trim_trailing_white_space_on_save": true
Ctrl+s就会自动去除该文件代码全部的行尾空格code