A Brackets extension to strip traling whitespace at the end of the line on document save. The extension adds a menu item to the Edit menu to toggle the stripping.
via Brackets Extension Manager or the old way:
Open the extensions folder via Help -> Show Extensions Folder
and clone the repository via
git clone --depth 1 https://github.com/pockata/brackets-StripTrailingSpaces.git
Brackets 1.14.1 compatibility. Used new APIs for event subscription
Brackets 1.9 compatibility. Replaced deprecated PreferencesManager methods
Added to Brackets Extension registry Preserve autostrip preference across Brackets restarts (merged pull request by Zaggino)
Rewrote the stripping algorithm so it plays nice with Brackets' other features. (Replaced setText with a series of replaceRange)
Initial release