News for hackers. Stuff that matters.
Re:Sublime Text 3 dev build 3128 released by FLUX-YOU on Wednesday April 12, 2017 @08:02AM (#14096777)
Using both is very good. Sublime has some text transformation features that VSC doesn't have (I use a ton of regex replace and multi-cursor typing -- VSC has these but there are some menu items in ST that are not in VSC), VSC has a debugger, source control out of the box, and can use symbol servers.

VSC is very much prepared for cross-platform .NET Core development. ST3 is more generally prepared for a lot of other languages and project types. If you're on Windows using a .NET language, Visual Studio should supersede VSC in almost every way though, and ST works better as your lightweight text editor.

And now, a moment of silence for those poor Notepad++ fans. :)

Re:Sublime Text 3 dev build 3128 released by protomyth on Wednesday April 12, 2017 @08:35AM (#14096987)
Sublime does keyboard macros that make my life easier which VSC and its add-on don't have. Now if Sublime had a option to delete trailing whitespace every time I hit return, I could return to my PFE days of macro productivity.

When I start doing coding and text manipulation again, it looks like it will be Sublime I purchase.

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.