2 ms·
For Sublime Text, you can add "trim_trailing_white_space_on_save" to the user settings and set it to true :)
by PavlovsCat 7y ago
For Sublime Text, you can add "trim_trailing_white_space_on_save" to the user settings and set it to true :)
- james-skemp 7y agoVS Code is very similar, with the additional support for .EditorConfig files. I do have a new line at the end of files now so that Git doesn't complain. That and new lines before some curly braces (either JS/TS/C#, can't recall which) is the only thing I've changed over the last decade+. The fact that I don't recall which I do where suggests I might want to reevaluate that, if it's not in a language that's going to compile it out.