Remove trailing whitespace in scripts


Just a little nitpick, can sometimes be annoying when editing scripts as there may be a few accidental tabs on a line

Current (no trimming)


Alternative desired

Most editors do this by default or have the option


The editors I’ve seen which have this option do it on file save.

Studio has place saving, but that’s not quite the same concept.
Maybe this should happen on script close? Place save/publish?


If this were to be implemented I’d assume it would be done on place save, especially if you wish to trim whitespace without having to close the script