+7
Under review
Trim trailing whitespace
I would like an option to trim trailing whitespace. It would be nice if this could trigger automatically at some point. I am used to Sublime and vim trimming on save; perhaps a keyboard shortcut could work.
Customer support service by UserEcho
I think it would also be necessary to have an option to show space characters (and other invisibles) similar to how tab characters can already be shown.
A shortcut key to trim trailing whitespace on the whole file or a selection would be a very nice feature, though. I'd be using it all the time.
It also highlights space before tab, which should never occur (the other way round is fine, though, for alignment).
Viewing invisible characters, especially spaces & tabs would definitely be a good feature, I'm using daily textastic for Python coding and am collecting quite a few unnecessary trailing spaces in sources (maybe an option to show only trailing ones ?)
The current version can already display tab characters. The next update of Textastic (9.6) will also support showing spaces and newlines.