Re:Sublime Text 3 dev build 3128 released
by jrimbault on Wednesday April 12, 2017 @08:51AM
(#14097107)
Sublime has the settings: `trim_trailing_white_space_on_save` and `ensure_newline_at_eof_on_save`, I found these very satisfactory.
But there's almost certainly a ST extension for your particular taste.
Re:Sublime Text 3 dev build 3128 released
by protomyth on Wednesday April 12, 2017 @09:00AM
(#14097181)
I actually want it to trigger on each line when hitting return. It really helps with macros you can write when text munging. I didn't spend as much time as I would have liked looking at each editor but a command-key that deletes all ending whitspace on a line would also be acceptable.
Re:Sublime Text 3 dev build 3128 released
by jrimbault on Wednesday April 12, 2017 @09:14AM
(#14097304)
For vim you can bind: `:%s/\s/+$//e`
I usually have ST and vim open at the same time myself.
Re:Sublime Text 3 dev build 3128 released
by castis on Wednesday April 12, 2017 @08:43AM
(#14097061)
I use the editorconfig plugin at work. You have an .editorconfig file at the base of your projects and everyones text editor gets the same settings on a per-project basis.
One of the default settings is to trim excess whitespaces.
When I start doing coding and text manipulation again, it looks like it will be Sublime I purchase.