Posted almost 7 years ago. Visible to the public. Linked content.

Remove Trailing Spaces on Save in Sublime Text 2

Ever wondered how to get rid of the trailing spaces?
just add this to your user settings ( cmd + , ):

"trim_trailing_white_space_on_save": true

And every time you save a file Sublime will trim all the trailing spaces for you.

If you haven´t seen whitespaces yet, you should add this package: and add these lines:

"trailing_spaces_highlight_color": "invalid",

"trailing_spaces_file_max_size": 1000,

Owner of this card:

Last edit:
almost 7 years ago
Text, spaces, sublime, trailing, whitespaces
Posted by mvbehr to NinjaConcept KB
This website uses cookies to improve usability and analyze traffic.
Accept or learn more