loading...

Ditching Sublime for VSCode

github logo 惻1 min read

I have used Sublime for a long time, it has been my text editor of choice and has treated me well over the years. I would continue to use to it, but the support has dwindled and finding useful plugins is a chore. I really wish the maintainer would have open sourced the project years ago šŸ˜¢.

I took the plunge and uninstalled Sublime... onto VScode...

The thing I am going to miss the most is jeering @ my co-workers for using their slow electron based editors. This is going to be a humbling experience.

  • As someone who is new to VScode, Are there any tips / tricks you can offer?
  • Have you switched? How was the experience?
  • What do you like about VScode? What do you hate about it?
twitter logo DISCUSS (31)
markdown guide
 

The thing about vscode it, it is very JavaScript centric. If you were a php developer you will find out that developing php in sublime is wayyyy better.

There is no auto switch language in the fly like sublime text. You can write JavaScript , css, and html in php files , sublime will know the context , and offer you the relevant automation complete.

That is not the case on vscode. You need to change your language manually. And apparently , vscode team doesn't think this is an important feature and has make their statement clear that they won't make this feature available as in ever.

 

I disagree on that. XDebug is much, much easier to use in VS Code. And I say that as a bit of a Sublime fanboy who uses it for everything else.

 

You are free to disagree. Doesn't make my point less true.

I never said about xdebug. VScode has a lot of extension, git lens and xdebug support is two of them. XDebug on sublime is simply a frustration to use. That and its great environment for developing javascript based app is what makes me ditching sublime text. Because having 2 editor is like having 2 phone.

My point about he vscode is its inability of the correctly guess what I want. Even with its abundant extension not even one can do it right.

Sublime can detect out of the box what I am working on, whether it's php, javascript, css, or html.

VSCode can't even detect whether a variable is already defined on another file. It will always treat a variable on a file is a new variable, with extension or not.

This is not a case in sublime. You can define a variable another file, and it will be detected correctly on the file I am working on.

We can go on and on, but it won't change the fact that PHP code completion, and suggestion on Sublime Text is way superior than VSCode. And VSCode team has clearly said that they won't give a shit about this. So much for intellisense.

I should probably repeat that I love Sublime. I love its simplicity and speed and the fact it runs really well on my 2009 netbook. I still use it for almost everything. But for debugging it's sadly way behind VS Code. I'd love that to change.

At one point, I even use vscode dedicated to debugging the apps I write on sublime. Doesn't work well, I end up with too many windows and more alt + tab than I really need.

Ditching sublime is hard but I've got no choice, it's time to move on.

Er, wait, what? I think we might be violently agreeing with each other here :)

Let's agree to disagree

Sublime > great for coding php but debugging php is suck ass
VScode > great for debugging php but its I can't sense any intelligence from its intellisense.

Yeah, that's probably fair. Depends what type of code you're writing I guess.

For 1 language on 1 file, vscode is great.

For 4 language on 1 file like php its AI Brain can't handle it.

I mainly use Intelij for developing Angular apps. Probably because I also use it for Java projects and then it is easy to use one IDE for multiple purposes. I tried out VS Code but I am not sure about it. What can offer VS Code for developing Angular apps instead of Intelij? I feel like Intelij does a great job supporting Angular. Only benefit I currently see from VS Code I see is that it is more lightweight than Intelij. Really curious about the advantages VS Code could offer me. Would love to hear any responses from you!

I don't write a lot of Angular, but I have never thought of writing it in idea. Why not WebStorm? I would imagine the support would be better.

I never use intelij so I can't really give any opinion / comparison in that matter.

Idea can basically everything what Webstotm can do. So no need for having installed both.

 

I wouldn't call it JS-centric, but that sentiment has likely already been expressed. It's great for C#, F#, go, python, Haskell and a number of other languages. Then again, its target audience is by and large bleeding edge development so it makes sense PHP wouldn't be a priority.

 

Welcome to the club! I'm sure you would love VS Code. Here are some tips and tricks VS Code offers in their documentation.

And yes, I do like VS Code. I would say it's the best editor I've ever tried. There's little I can say against it, really. In my opinion, the Electron-based architecture is the only downside here. Despite that, you wouldn't notice a huge performance lag at all (unlike in Atom). Just keep the number of extensions low and you'd be fine.

 

Thanks dood! šŸ˜€šŸ» I will check out the link when i get in tonight.

 

I switched from Atom to VSCode some time ago and I have to say it has been one of the best decisions I've made in my programming career (besides doing front-end stuff). There's a lot of stuff you can do with it and there's a series of tips & tricks by John Papa and Burke Holland. There's even a website aptly named vscodecandothat.com

 

That website is great! I really like the settings-sync extension. I was worried about updating my work machine on Monday, now I don't have to!

 

For my part, I still use Sublime alongside VSCode.

VS code is a bit more project-centric, where Sublime is more nimble and performant (IMO) for adhoc work and quick hits.

So they both coexist quite peacefully in my workflows (and I still have room for Pycharm and Data Grip).

In short, I prefer AND to OR.

 

Maybe one day I can install sublime again. I think it is best I keep it removed until I fully give VSCode the test drive it deserves.

 

Personally, I've yet to find a compelling reason to switch away from. Sublime. It's smaller, faster, and makes me faster at editing, auditing, and writing code. It looks great, feels great, and gets the job done extremely efficiently. The "newness" of a tool shouldn't discourage usage. I still use tools written in the 1990s, because they just WORK. Sublime has a very nice collection of plugins, though I personally have found I only need a few. I built my own color theme, added a plug-in for a better folder side car, another for git, and that's about it.

I'm still waiting to find a "killer feature" so to speak to pull me away from sublime, yet I've seen none. The large feature that pulled me into sublime was multi-selection many years ago! I know others have this now, but they need something more to make it worth while. Vscode right now just slows me down, so I don't see any reason to swap yet.

 

I just started learning ReasonML, that was my 'reason' šŸ‘Œ. I struggled to get the code hints working in Sublime. The support for the sublime packages is just not there. Took two seconds in VSCode.

I don't think there will be a killer feature that won't be available on both. For me, its the little things that add up over time.

 

I use both. The regex search and large file reading capabilities of sublime are near-unparalleled. Vscode is an excellent, fast electron ide that has significant integration with many platforms at this point. They're both awesome and in my toolbelt.

 

The remarkable things for me in vs code are the native gut integration. Their amazing UX design (installing extensions is a button click, and once you open a file of a language he will recommend to you the famous extensions for that language. Also their hot keys cheat sheet git it up its awesome

 
 

Here you have my list of settings, extensions and so on. I hope it helps you.

gist.github.com/enriquemorenotent/...

I was also a ST fan, specially for its speed. I open it sometimes, and realize it is still the fastest. But it has fallen behind in the world of code editors sadly. So yes, I also migrated to VS Code.

 

I was in a the same boat as you are in. One plugin I wish I found when I made the switch was sublime keymaps. It eases the switch by providing sublime text keymap for vscode.

 
 

Iā€™v Really enjoyed VSCode but I will say Iā€™m struggling on the debugger end currently. Not sure how to get a better JS debugger.

 

I hate that it is slow the only time I fire it is to double check my paths are correct.

Classic DEV Post from Jul 10 '19

How is your portfolio built?

Matt G profile image
Did somebody have a javascript project they needed help with?! :)