I went from Sublime -> Atom (which I stayed on for years) then finally, reluctantly tried out VS Code.
It's fantastic. It's really, really so good. Incredibly solid compared to the weird issues I would get every once in a while with Sublime and Atom. It's really pretty and works really well. Plus, it has keybind packs for Sublime to make the transition easier.
It had me sold alone just as a text editor, but also it has some reeaaally nice debugging stuff. And, I know, I know, if you're a JS dev like me, there's the attitude of "the only debug tool I need is console.log."
But man, real robust debugging with hover-variable-previews and really nice breakpoints and all that is pretty nice when the situation calls for it. It also gives you the ability to setup a debug config that lives with the project and you get just a drop-down of debug scenarios that you've set up and you can instantly start up any of them.
I was skeptical as hell, but it's my favorite editor of all time.
I have. I bought Sublime quite a while ago and used it for a long time. I switched to Atom for about 3-6 months in 2015 but kinda hated it. I switched back to Sublime after a while.
I switched to VS Code sometime in 2017, and am still using it as my primary tool for text. Here are some reasons that come to mind:
Sublime's hacked-on package management leaves a bit to be desired. VS Code has a real extensions system that I can actually browse around easily from within the app.
Built-in support for "extra" stuff that I use: debugging, version control, intellisense, etc. There's packages in Sublime for those things, but they tend to be language-specific, and often don't work that well.
Non-text tabs. It's a small thing, but the ability for the core app and also extensions to take advantage of "WebView" tabs makes a lot of things more convenient than the Sublime Text way: image previews, Markdown previews, settings UI, keyboard shortcuts UI, etc. I really like how I don't have to switch to another app to take a quick peek at some image assets in my project.
Language support is fantastic. VS Code has been leading the charge with things we've really needed in development like the Language Server Protocol. In turn, language support extensions in VS Code seem to, for the most part, just work out of the box more than in any other editor I've used (excluding IDE-class editors).
For me, VS Code hits that perfect sweet spot of a text editor that includes useful IDE-like features, while remaining a lightweight editor without a million customizable dialog boxes and toolbars.
There's still some things that Sublime has an edge with though:
Nothing beats Sublime at pure performance. That thing is well-optimized.
Multi-window support is much better.
Has syntax highlighting for everything under the sun, while the VS Code extensions marketplace is a bit lacking in some areas right now.
I have. I was a die hard ST fan for the longest, and still really like it, but have side switched to vscode. One of the by reasons was a job change that meant a technology change. Went from python desktop apps and data science to java+typescript web apps. Vscode just has the best typescript support, period, and has good enough java support with a plugin to get by most of the time. It has an inline debugger, integrates with git really well, and a huge community of plugins. On top of that, it is a direct descendant, at least stylistically, of ST, so users will still feel very much at home and many of your shortcuts already work.
A huge reason to switch now is the features that vscode is pumping out regularly. Its just a fantastically good editor now, even in just a year since I started using it there have been huge improvements. They have a team dedicated to working full time on it, and being open source it means that they can get community contributions as well.
A big reason not to use it? Speed. No editor I have used can match ST in shear performance. Vscode is much heavier, each window is a new instance, plugins can vary a lot in performance, it uses a ton of ram, etc. ST is incredibly fast in comparison. That being said, vscode is much faster than, say, intellij.
Sublime used to be the king of extensibility, but vscode is an electron app, which means you not only have the power of the JavaScript/typescript ecosystem for writing the extensions, but you can also visually extend the editor with custom widgets much more easily.
Intellisense. I do a lot of C# and Typescript and not having it outside of VS was killing me. It's also decent at figuring it out for Python and other languages.
People mention the git integration, and it is very good. But for me it was the integrated terminal. Being able to pop it open for test runners or misc tools and what have you, and then being able to Alt+click file paths and line numbers that in the output to jump to that file is Killer. I'd love to have that with Sublime. I'm not even sure if that works in n/vim.
Other niceties include first class support for LSP, though there is now a Sublime plugin for it, it was a little finicky for me but it worked.
And the huge extension ecosystem means it's chock full of gems I'd never even think to look for before, like one that hooks into a Gitlab instance and can give you issues assigned to you and reports the status of the last pipeline.
Yeah I have. It's a bit slower and a metric tonne more memory hungry (seriously, it's a glutton for that ram, you've been warned). Package management, debugging, git integration etc are all just a little bit nicer in lots of little UXy ways. Code aware intellisense in languages that support it is a lot nicer than just expanding out keywords from the current file, as is hovering on classes to see doc snippets, etc. I think the multicursor is a bit worse, but mainly because I haven't worked out the shortcut for "put a cursor on every line in the selection" yet. In general it's similar enough that it's very easy to switch between the two.
41
u/neutronbob Feb 06 '19
Has anyone who previously used Sublime Text switched over principally/exclusively to VS Code and, if so, why?