3 ms·
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 th
by FLUX-YOU 10y ago
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. :)
- protomyth 10y agoSublime 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.
- castis 10y agoI 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.
- jrimbault 10y agoSublime 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.
- protomyth 10y agoI 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.
- jrimbault 10y agoFor vim you can bind: `:%s/\s/+$//e` I usually have ST and vim open at the same time myself.