Trim trailing and save
notepad++ is a shocker at putting trailing whitespace on files.
keystroke:
alt+shift+s
will trim trailing whitespace and save.
some people recommend re-mapping ctrl-s to trim trailing whitespace and save. i haven't gone that far yet.